peyk.platforms.telegram.types.paid_media_photo¶
Classes
|
The paid media is a photo. |
- class peyk.platforms.telegram.types.paid_media_photo.PaidMediaPhoto(photo: List[PhotoSize], type: str = 'photo')[source]¶
Bases:
objectThe paid media is a photo.
- Variables:
type (str) – Type of the paid media, always ‘photo’
photo (List[peyk.platforms.telegram.types.photo_size.PhotoSize]) – The photo
- type: str = 'photo'¶
- classmethod from_dict(data: dict | None) PaidMediaPhoto | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.