Link Search Menu Expand Document

Constructor: messageEntityBotCommand

Back to constructors index

Message entity representing a bot /command

Attributes:

NameTypeRequiredDescription
offsetintYesOffset of message entity within message (in UTF-8 codepoints)
lengthintYesLength of message entity within message (in UTF-8 codepoints)

Type: MessageEntity

Example:

$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int];