MadelineProtoDocs/old_docs/API_docs_v102/constructors/inputBotInlineResultDocument.md
2019-06-24 15:45:02 +02:00

1.3 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];

Or, if you're into Lua:

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