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

1.6 KiB

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

Constructor: inputBotInlineResultDocument

Back to constructors index

Bot inline result document

Attributes:

Name Type Required Description
id string Yes ID
type string Yes Type
title string Optional Title
description string Optional Description
document MessageMedia, Message, Update or InputDocument Optional Document
send_message InputBotInlineMessage Yes Message to send

Type: InputBotInlineResult

Example:

$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'document' => InputDocument, 'send_message' => InputBotInlineMessage];

PWRTelegram json-encoded version:

{"_": "inputBotInlineResultDocument", "id": "string", "type": "string", "title": "string", "description": "string", "document": InputDocument, "send_message": InputBotInlineMessage}

Or, if you're into Lua:

inputBotInlineResultDocument={_='inputBotInlineResultDocument', id='string', type='string', title='string', description='string', document=InputDocument, send_message=InputBotInlineMessage}