inputMessageEntityMentionName
Message entity that can be used to create a user user mention: received mentions use the messageEntityMentionName constructor, instead.
type tg.InputMessageEntityMentionName struct { /* ... */ }
Implements MessageEntity.
Fields
| 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) |
UserID | InputUserClass | yes | Identifier of the user that was mentioned |
References
- Official documentation
- Generated Go reference
- TL definition:
inputMessageEntityMentionName#208e68c9