mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.4 KiB
1.4 KiB
title | description | nav_exclude | image |
---|---|---|---|
botInlineResult | Generic result | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: botInlineResult
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];