Update type description for MessageEntity.

parent 29a3cd88
...@@ -15,7 +15,7 @@ namespace Longman\TelegramBot\Entities; ...@@ -15,7 +15,7 @@ namespace Longman\TelegramBot\Entities;
* *
* @link https://core.telegram.org/bots/api#messageentity * @link https://core.telegram.org/bots/api#messageentity
* *
* @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) * @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)
* @method int getOffset() Offset in UTF-16 code units to the start of the entity * @method int getOffset() Offset in UTF-16 code units to the start of the entity
* @method int getLength() Length of the entity in UTF-16 code units * @method int getLength() Length of the entity in UTF-16 code units
* @method string getUrl() Optional. For "text_link" only, url that will be opened after user taps on the text * @method string getUrl() Optional. For "text_link" only, url that will be opened after user taps on the text
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment