PaidMediaInfo

class aiogram.types.paid_media_info.PaidMediaInfo(*, star_count: int, paid_media: list[PaidMediaPreview | PaidMediaPhoto | PaidMediaVideo], **extra_data: Any)[source]

Describes the paid media added to a message.

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

star_count: int

The number of Telegram Stars that must be paid to buy access to the media

model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_post_init(context: Any, /) None

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

paid_media: list[PaidMediaPreview | PaidMediaPhoto | PaidMediaVideo]

Information about the paid media