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}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.