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-16 code units)
lengthintYesLength of message entity within message (in UTF-16 code units)

Type: MessageEntity

Example:

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