1.3 KiB
1.3 KiB
title | description | image |
---|---|---|
botInlineMediaResultDocument | Bot inline media result document | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: botInlineMediaResultDocument
Bot inline media result document
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | ID |
type | string | Yes | Type |
document | Document | Optional | Document |
send_message | BotInlineMessage | Yes | Send message |
Type: BotInlineResult
Example:
$botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => 'string', 'type' => 'string', 'document' => Document, 'send_message' => BotInlineMessage];
PWRTelegram json-encoded version:
{"_": "botInlineMediaResultDocument", "id": "string", "type": "string", "document": Document, "send_message": BotInlineMessage}
Or, if you're into Lua:
botInlineMediaResultDocument={_='botInlineMediaResultDocument', id='string', type='string', document=Document, send_message=BotInlineMessage}