Link Search Menu Expand Document

Constructor: inputBotInlineResult

Back to constructors index

An inline bot result

Attributes:

NameTypeRequiredDescription
idstringYesID of result
typestringYesResult type (see bot API docs)
titlestringOptionalResult title
descriptionstringOptionalResult description
urlstringOptionalURL of result
thumbInputWebDocumentOptionalThumbnail for result
contentInputWebDocumentOptionalResult contents
send_messageInputBotInlineMessageYesMessage to send when the result is selected

Type: InputBotInlineResult

Example:

$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb' => InputWebDocument, 'content' => InputWebDocument, 'send_message' => InputBotInlineMessage];