peyk.platforms.telegram.types.paid_media_photo

Classes

PaidMediaPhoto(photo[, type])

The paid media is a photo.

class peyk.platforms.telegram.types.paid_media_photo.PaidMediaPhoto(photo: List[PhotoSize], type: str = 'photo')[source]

Bases: object

The paid media is a photo.

Variables:
photo: List[PhotoSize]
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.