peyk.platforms.telegram.types.rich_block_photo¶
Classes
|
A block with a photo, corresponding to the HTML tag . |
- class peyk.platforms.telegram.types.rich_block_photo.RichBlockPhoto(photo: List[PhotoSize] | None = None)[source]¶
Bases:
objectA block with a photo, corresponding to the HTML tag .
- Variables:
type – Type of the block, always ‘photo’
photo (List[peyk.platforms.telegram.types.photo_size.PhotoSize] | None) – Available sizes of the photo
has_spoiler – True, if the media preview is covered by a spoiler animation
caption – Caption of the block