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

1.3 KiB

title description image
inputBotInlineResultPhoto Bot inline result photo https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputBotInlineResultPhoto

Back to constructors index

Bot inline result photo

Attributes:

Name Type Required Description
id string Yes ID
type string Yes Type
photo MessageMedia, Message, Update or InputPhoto Optional Photo
send_message InputBotInlineMessage Yes Message to send

Type: InputBotInlineResult

Example:

$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage];

PWRTelegram json-encoded version:

{"_": "inputBotInlineResultPhoto", "id": "string", "type": "string", "photo": InputPhoto, "send_message": InputBotInlineMessage}

Or, if you're into Lua:

inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage}