PaidMediaPhoto¶
- class telegram.PaidMediaPhoto(photo, *, api_kwargs=None)[source]¶
Bases:
telegram.PaidMedia
The paid media is a photo.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
photo
are equal.Available In
Added in version 21.4.
- Parameters:
photo (Sequence[
telegram.PhotoSize
]) – The photo.
- photo[source]¶
The photo.
- Type:
tuple[
telegram.PhotoSize
]