Constructor: botInlineResult

Back to constructors index

Generic result

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
url string Optional URL of article or webpage
thumb WebDocument Optional Thumbnail for the result
content WebDocument Optional Content of the result
send_message BotInlineMessage Yes Message to send

Type: BotInlineResult

Example:

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

Or, if you’re into Lua:

botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb=WebDocument, content=WebDocument, send_message=BotInlineMessage}

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