PaidMediaPurchased

class aiogram.types.paid_media_purchased.PaidMediaPurchased(*, from_user: User, paid_media_payload: str, **extra_data: Any)[source]

This object contains information about a paid media purchase.

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

from_user: User

User who purchased 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_payload: str

Bot-specified paid media payload