MadelineProtoDocs/old_docs/API_docs_v82/constructors/botInlineResult.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.6 KiB

title description image
botInlineResult Bot inline result https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: botInlineResult

Back to constructors index

Bot inline result

Attributes:

Name Type Required Description
id string Yes ID
type string Yes Type
title string Optional Title
description string Optional Description
url string Optional URL
thumb WebDocument Optional Thumbnailnail
content WebDocument Optional Content
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];

PWRTelegram json-encoded version:

{"_": "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}