telegram api constructor · layer 229 · #17db940b
botInlineMediaResult
Media result
definition
botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
id | string | Result ID |
type | string | Result type (see bot API docs) |
photo | Photo | If type is photo, the photo to send |
document | Document | If type is document, the document to send |
title | string | Result title |
description | string | Description |
send_message | BotInlineMessage | Depending on the type and on the constructor, contains the caption of the media or the content of the message to be sent instead of the media |
type
BotInlineResult · other constructors: botInlineResult
history
present in layers 62–229
| id | layers |
|---|---|
| #17db940b | 62–229 |