messageEntityMention #
Message entity mentioning a user by @username; messageEntityMentionName can also be used to mention users by their ID.¶
End-to-end schema #
===45===
messageEntityMention#fa04579d offset:int length:int = MessageEntity;
API schema #
Layer 223
messageEntityMention#fa04579d offset:int length:int = MessageEntity; Parameters #
| 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) |
Type #
Related pages #
Styled text with message entities #
How to create styled text with message entities¶
Mentions and replies #
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.¶
messageEntityMentionName #
Message entity representing a user mention: for creating a mention use inputMessageEntityMentionName.¶