mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 14:54:47 +01:00
1.2 KiB
1.2 KiB
title | description |
---|---|
inputBotInlineMessageText | inputBotInlineMessageText attributes, type and example |
Constructor: inputBotInlineMessageText
Attributes:
Name | Type | Required |
---|---|---|
no_webpage | Bool | Optional |
message | string | Yes |
entities | Array of MessageEntity | Optional |
reply_markup | ReplyMarkup | Optional |
Type: InputBotInlineMessage
Example:
$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ];
PWRTelegram json-encoded version:
{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"}
Or, if you're into Lua:
inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, }
Usage of reply_markup
You can provide bot API reply_markup objects here.