MadelineProtoDocs/old_docs/API_docs_v45/constructors/botInlineMediaResultPhoto.md

1.0 KiB

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

Constructor: botInlineMediaResultPhoto

Back to constructors index

Bot inline media result photo

Attributes:

Name Type Required Description
id string Yes ID
type string Yes Type
photo Photo Optional Photo
send_message BotInlineMessage Yes Send message

Type: BotInlineResult

Example:

$botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'send_message' => BotInlineMessage];

Or, if you're into Lua:

botInlineMediaResultPhoto={_='botInlineMediaResultPhoto', id='string', type='string', photo=Photo, send_message=BotInlineMessage}