messageExtendedMediaPreview #
Paid media preview for not yet purchased paid media, see here » for more info.¶
Layer 223
messageExtendedMediaPreview#ad628cc8 flags:# w:flags.0?int h:flags.0?int thumb:flags.1?PhotoSize video_duration:flags.2?int = MessageExtendedMedia; Parameters #
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| w | flags.0?int | Width |
| h | flags.0?int | Height |
| thumb | flags.1?PhotoSize | Extremely low resolution thumbnail. |
| video_duration | flags.2?int | Video duration for videos. |
Type #
Related pages #
Uploading and Downloading Files #
How to transfer large data batches correctly.¶
Paid media #
Content creators can accept Stars by publishing paid photos or videos on their channels. Subscribers will be allowed to view such posts only after paying the author to unlock them.¶