MadelineProtoDocs/docs/API_docs/constructors/messageEntityBotCommand.md
2024-05-01 14:53:46 +02:00

988 B

title description nav_exclude image
messageEntityBotCommand Message entity representing a bot /command true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageEntityBotCommand

Back to constructors index

Message entity representing a bot /command

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)

Type: MessageEntity

Example:

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