inputMessageEntityMentionName #

Message entity that can be used to create a user user mention: received mentions use the messageEntityMentionName constructor, instead.

Layer 223

inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity;

Parameters #

NameTypeDescription
offsetintOffset of message entity within message (in UTF-16 code units)
lengthintLength of message entity within message (in UTF-16 code units)
user_idInputUserIdentifier of the user that was mentioned

Type #

MessageEntity

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.