MessageEntity

One special entity in a text message

Members

Variables

length
int length;

Length of the entity in UTF-16 code units

offset
int offset;

Offset in UTF-16 code units to the start of the entity

type
EntityType type;

Type of the entity

url
string url;

For “text_link” only, url that will be opened after user taps on the text

user
User user;

For “text_mention” only, the mentioned user

See Also

Meta