MadelineProtoDocs/docs/API_docs/constructors/messageEntityBotCommand.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

914 B

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

Constructor: messageEntityBotCommand

Back to constructors index

Message entity bot command

Attributes:

Name Type Required Description
offset int Yes Offset
length int Yes Length

Type: MessageEntity

Example:

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

PWRTelegram json-encoded version:

{"_": "messageEntityBotCommand", "offset": int, "length": int}

Or, if you're into Lua:

messageEntityBotCommand={_='messageEntityBotCommand', offset=int, length=int}