MadelineProtoDocs/old_docs/API_docs_v81/constructors/botInlineResult.md

1.5 KiB

title description image
botInlineResult botInlineResult attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: botInlineResult

Back to constructors index

Attributes:

Name Type Required
id string Yes
type string Yes
title string Optional
description string Optional
url string Optional
thumb WebDocument Optional
content WebDocument Optional
send_message BotInlineMessage Yes

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}