Link Search Menu Expand Document

Constructor: botInlineResult

Back to constructors index

Generic result

Attributes:

NameTypeRequiredDescription
idstringYesResult ID
typestringYesResult type (see bot API docs)
titlestringOptionalResult title
descriptionstringOptionalResult description
urlstringOptionalURL of article or webpage
thumbWebDocumentOptionalThumbnail for the result
contentWebDocumentOptionalContent of the result
send_messageBotInlineMessageYesMessage to send

Type: BotInlineResult

Example:

$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb' => WebDocument, 'content' => WebDocument, 'send_message' => BotInlineMessage];