PaidMediaPhoto

class aiogram.types.paid_media_photo.PaidMediaPhoto(*, type: Literal[PaidMediaType.PHOTO] = PaidMediaType.PHOTO, photo: list[PhotoSize], **extra_data: Any)[source]

The paid media is a photo.

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

type: Literal[PaidMediaType.PHOTO]

Type of the paid media, always ‘photo’

model_post_init(context: Any, /) None

We need to both initialize private attributes and call the user-defined model_post_init method.

photo: list[PhotoSize]

The photo