Link Search Menu Expand Document

Constructor: messageEntityMentionName

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
offsetintYesOffset of message entity within message (in UTF-16 code units)
lengthintYesLength of message entity within message (in UTF-16 code units)
user_idlongYesIdentifier of the user that was mentioned

Type: MessageEntity

Example:

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