Constructor: inputBotInlineResult

Back to constructors index

An inline bot result

Attributes:

Name Type Required Description
id string Yes ID of result
type string Yes Result type (see bot API docs)
title string Optional Result title
description string Optional Result description
url string Optional URL of result
thumb InputWebDocument Optional Thumbnail for result
content InputWebDocument Optional Result contents
send_message InputBotInlineMessage Yes Message 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];

Or, if you’re into Lua:

inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb=InputWebDocument, content=InputWebDocument, send_message=InputBotInlineMessage}

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