PaidMedia¶
- class telegram.PaidMedia(type, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectDescribes the paid media added to a message. Currently, it can be one of:
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
typeis equal.Added in version 21.4.
- Parameters:
type (
str) – Type of the paid media.