mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.3 KiB
1.3 KiB
title | description | nav_exclude | image |
---|---|---|---|
messageEntityMentionName | Message entity representing a user mention: for creating a mention use inputMessageEntityMentionName. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: messageEntityMentionName
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-16 code units) |
length | int | Yes | Length of message entity within message (in UTF-16 code units) |
user_id | long | Yes | Identifier of the user that was mentioned |
Type: MessageEntity
Example:
$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => long];