MadelineProtoDocs/old_docs/API_docs_v73/constructors/inputBotInlineResultPhoto.md

1.1 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];

Or, if you're into Lua:

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