PaidMediaPreview¶
- class telegram.PaidMediaPreview(width=None, height=None, duration=None, *, api_kwargs=None)[source]¶
Bases:
telegram.PaidMedia
The paid media isn’t available before the payment.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
width
,height
, andduration
are equal.Available In
Added in version 21.4.
- Parameters: