Skip to main content

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

NameTypeRequiredDescription
OffsetintyesOffset of message entity within message (in UTF-16 code units)
LengthintyesLength of message entity within message (in UTF-16 code units)
UserIDInputUserClassyesIdentifier of the user that was mentioned

References