MessageExtendedMediaPreview
- class pyrogram.raw.types.MessageExtendedMediaPreview
Paid media preview for not yet purchased paid media, see here » for more info.
Constructor of
MessageExtendedMedia.- Details:
Layer:
223ID:
AD628CC8
- Parameters:
w (
int32-bit, optional) – Widthh (
int32-bit, optional) – Heightthumb (
PhotoSize, optional) – Extremely low resolution thumbnail.video_duration (
int32-bit, optional) – Video duration for videos.
TL Schema
messageExtendedMediaPreview#ad628cc8
flags:#
w:flags.0?int
h:flags.0?int
thumb:flags.1?PhotoSize
video_duration:flags.2?int
= MessageExtendedMedia
Parameter Tree
MessageExtendedMediaPreview
├── w →
int (optional)├── h →
int (optional)├── thumb →
PhotoSize (optional)│ ├──
PhotoSizeEmpty│ │ └── type →
string│ ├──
PhotoSize│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ └── size →
int│ ├──
PhotoCachedSize│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ └── bytes →
bytes│ ├──
PhotoStrippedSize│ │ ├── type →
string│ │ └── bytes →
bytes│ ├──
PhotoSizeProgressive│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ └── sizes →
Vector < int >│ └──
PhotoPathSize│ ├── type →
string│ └── bytes →
bytes└── video_duration →
int (optional)Example
MessageExtendedMediaPreview(
)