Link Search Menu Expand Document

Constructor: inputBotInlineResultDocument

Back to constructors index

Document (media of any type except for photos)

Attributes:

NameTypeRequiredDescription
idstringYesResult ID
typestringYesResult type (see bot API docs)
titlestringOptionalResult title
descriptionstringOptionalResult description
documentMessageMedia, Message, Update or InputDocumentOptionalDocument to send
send_messageInputBotInlineMessageYesMessage 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];