PaidMediaPreview¶
- class litegram.types.paid_media_preview.PaidMediaPreview(*, type: Literal[PaidMediaType.PREVIEW] = PaidMediaType.PREVIEW, width: int | None = None, height: int | None = None, duration: int | None = None, **extra_data: Any)[source]¶
The paid media isn’t available before the payment.
Source: https://core.telegram.org/bots/api#paidmediapreview
- type: Literal[PaidMediaType.PREVIEW]¶
Type of the paid media, always ‘preview’