Skip to content

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>.

Documentation

Properties

PropertyTypeDescriptionDefined in
caption?TelegramRichBlockCaptionOptional. Caption of the block@gramio/types/out/objects.d.ts:8316
has_spoiler?trueOptional. True, if the media preview is covered by a spoiler animation@gramio/types/out/objects.d.ts:8312
photoTelegramPhotoSize[]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