Constructor: inputBotInlineResultDocument
Document (media of any type except for photos)
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Result ID |
| type | string | Yes | Result type (see bot API docs) |
| title | string | Optional | Result title |
| description | string | Optional | Result description |
| document | MessageMedia, Message, Update or InputDocument | Optional | Document to send |
| send_message | InputBotInlineMessage | Yes | Message to send when the result is selected |
Type: InputBotInlineResult
Example:
$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage];