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 #

NameTypeDescription
flags#Flags, see TL conditional fields
wflags.0?intWidth
hflags.0?intHeight
thumbflags.1?PhotoSizeExtremely low resolution thumbnail.
video_durationflags.2?intVideo duration for videos.

Type #

MessageExtendedMedia

Uploading and Downloading Files #

How to transfer large data batches correctly.

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.