PaidMediaPreview¶
- class telegram.PaidMediaPreview(width=None, height=None, duration=None, *, api_kwargs=None)[source]¶
Bases:
telegram.PaidMediaThe 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, anddurationare equal.Available In
Added in version 21.4.
- Parameters: