MessageEntity Class
extends Base Represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Properties
customEmojiId string
For 'customEmoji' only, unique identifier of the custom emoji.
Use
See the codelanguage string
For 'pre' only, the programming language of the entity text
See the codelength number
Length of the entity in UTF-16 code units
See the codeoffset number
Offset in UTF-16 code units to the start of the entity
See the codeurl string
For 'textLink' only, url that will be opened after user taps on the text
See the codeuser User
For 'textMention' only, the mentioned user
See the code