Message entity representing a user mention: for creating a mention use inputMessageEntityMentionName.
messageEntityMentionName#dc7b1140 offset:int length:int user_id:long = MessageEntity;
Name | Type | Description |
---|---|---|
offset | int | Offset of message entity within message (in UTF-16 code units) |
length | int | Length of message entity within message (in UTF-16 code units) |
user_id | long | Identifier of the user that was mentioned |
How to create styled text with message entities
Telegram allows mentioning other users in case of urgent duckling matters, and quickly navigating to those mentions in order to read them as swiftly as possible.
Message entity that can be used to create a user user mention: received mentions use the messageEntityMentionName constructor, instead.