MadelineProtoDocs/old_docs/API_docs_v13/constructors/inputBotInlineResult.md
2020-06-16 17:50:25 +02:00

1.8 KiB

title description image
inputBotInlineResult An inline bot result https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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_url string Optional
content_url string Optional
content_type string Optional
w int Optional
h int Optional
duration int Optional
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_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage];

Or, if you're into Lua:

inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage}