GramIO API Reference / gramio/dist / TelegramRichBlockPhoto
Interface: TelegramRichBlockPhoto
Defined in: @gramio/types/out/objects.d.ts:8300
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:8316 |
has_spoiler? | true | Optional. True, if the media preview is covered by a spoiler animation | @gramio/types/out/objects.d.ts:8312 |
photo | TelegramPhotoSize[] | Available sizes of the photo | @gramio/types/out/objects.d.ts:8308 |
type | "photo" | Type of the block, always “photo” | @gramio/types/out/objects.d.ts:8304 |