Skip to content

Commit 395cf87

Browse files
committed
Update type description for MessageEntity.
1 parent 29a3cd8 commit 395cf87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Entities/MessageEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* @link https://core.telegram.org/bots/api#messageentity
1717
*
18-
* @method string getType() Type of the entity. Can be mention (@username), hashtag, bot_command, url, email, bold (bold text), italic (italic text), code (monowidth string), pre (monowidth block), text_link (for clickable text URLs), text_mention (for users without usernames)
18+
* @method string getType() Type of the entity. Can be mention (@username), hashtag, cashtag, bot_command, url, email, phone_number, bold (bold text), italic (italic text), code (monowidth string), pre (monowidth block), text_link (for clickable text URLs), text_mention (for users without usernames)
1919
* @method int getOffset() Offset in UTF-16 code units to the start of the entity
2020
* @method int getLength() Length of the entity in UTF-16 code units
2121
* @method string getUrl() Optional. For "text_link" only, url that will be opened after user taps on the text

0 commit comments

Comments
 (0)