MadelineProtoDocs/old_docs/API_docs_v95/constructors/inputBotInlineResultDocument.md
2019-12-27 17:48:04 +01:00

1.5 KiB

title description image
inputBotInlineResultDocument Document (media of any type except for photos) https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputBotInlineResultDocument

Back to constructors index

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

Or, if you're into Lua:

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