mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image |
---|---|---|---|
inputBotInlineResultPhoto | Photo | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputBotInlineResultPhoto
Photo
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | Result ID |
type | string | Yes | Result type (see bot API docs) |
photo | MessageMedia, Message, Update or InputPhoto | Optional | Photo to send |
send_message | InputBotInlineMessage | Yes | Message to send when the result is selected |
Type: InputBotInlineResult
Example:
$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage];