Constructor: inputMessageEntityMentionName
Message entity that can be used to create a user user mention: received mentions use the messageEntityMentionName constructor, instead.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
offset | int | Yes | Offset of message entity within message (in UTF-16 code units) |
length | int | Yes | Length of message entity within message (in UTF-16 code units) |
user_id | InputUser | Optional | Identifier of the user that was mentioned |
Type: MessageEntity
Example:
$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser];