InputRichBlockPhoto

class aiogram.types.input_rich_block_photo.InputRichBlockPhoto(*, type: Literal[InputRichBlockType.PHOTO] = InputRichBlockType.PHOTO, photo: InputMediaPhoto, caption: RichBlockCaption | None = None, **extra_data: Any)[source]

A block with a photo, corresponding to the HTML tag <img>.

Source: https://core.telegram.org/bots/api#inputrichblockphoto

type: Literal[InputRichBlockType.PHOTO]

Type of the block, always ‘photo’

photo: InputMediaPhoto

The photo. Caption is ignored

caption: RichBlockCaption | None

Optional. Caption of the block