MadelineProtoDocs/old_docs/API_docs_v73/constructors/messageEntityMentionName.md
2019-12-27 17:48:04 +01:00

1.3 KiB

title: messageEntityMentionName description: Message entity representing a user mention: for creating a mention use inputMessageEntityMentionName. image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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}