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

1.5 KiB

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

Constructor: botInlineMediaResult

Back to constructors index

Bot inline media result

Attributes:

Name Type Required Description
id string Yes ID
type string Yes Type
photo Photo Optional Photo
document Document Optional Document
title string Optional Title
description string Optional Description
send_message BotInlineMessage Yes Send message

Type: BotInlineResult

Example:

$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage];

PWRTelegram json-encoded version:

{"_": "botInlineMediaResult", "id": "string", "type": "string", "photo": Photo, "document": Document, "title": "string", "description": "string", "send_message": BotInlineMessage}

Or, if you're into Lua:

botInlineMediaResult={_='botInlineMediaResult', id='string', type='string', photo=Photo, document=Document, title='string', description='string', send_message=BotInlineMessage}