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