1.3 KiB
1.3 KiB
title | description | image |
---|---|---|
inputBotInlineResultPhoto | Bot inline result photo | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputBotInlineResultPhoto
Bot inline result photo
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | ID |
type | string | Yes | Type |
photo | MessageMedia, Message, Update or InputPhoto | Optional | Photo |
send_message | InputBotInlineMessage | Yes | Message to send |
Type: InputBotInlineResult
Example:
$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => 'string', 'type' => 'string', 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage];
PWRTelegram json-encoded version:
{"_": "inputBotInlineResultPhoto", "id": "string", "type": "string", "photo": InputPhoto, "send_message": InputBotInlineMessage}
Or, if you're into Lua:
inputBotInlineResultPhoto={_='inputBotInlineResultPhoto', id='string', type='string', photo=InputPhoto, send_message=InputBotInlineMessage}