Constructor: messageEntityMentionName

Back to constructors index

Message entity representing a user mention: for creating a mention use inputMessageEntityMentionName.

Attributes:

Name Type Required Description
offset int Yes Offset of message entity within message (in UTF-8 codepoints)
length int Yes Length of message entity within message (in UTF-8 codepoints)
user_id int Yes Identifier of the user that was mentioned

Type: MessageEntity

Example:

$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int];

Or, if you’re into Lua:

messageEntityMentionName={_='messageEntityMentionName', offset=int, length=int, user_id=int}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.