GramIO API Reference / gramio/dist / TelegramInputRichBlockPhoto
Interface: TelegramInputRichBlockPhoto
Defined in: @gramio/types/out/objects.d.ts:8872
A block with a photo, corresponding to the HTML tag <img>.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
caption? | TelegramRichBlockCaption | Optional. Caption of the block | @gramio/types/out/objects.d.ts:8884 |
photo | TelegramInputMediaPhoto | The photo. Caption is ignored. | @gramio/types/out/objects.d.ts:8880 |
type | "photo" | Type of the block, always “photo” | @gramio/types/out/objects.d.ts:8876 |