﻿# MessageExtendedMedia

[Paid media, see here »](/api/paid-media.md) for more info.

```tl
messageExtendedMediaPreview#ad628cc8 flags:# w:flags.0?int h:flags.0?int thumb:flags.1?PhotoSize video_duration:flags.2?int = MessageExtendedMedia;
messageExtendedMedia#ee479c64 media:MessageMedia = MessageExtendedMedia;
```

### Constructors

| Constructor | Description |
| --- | --- |
| [messageExtendedMediaPreview](/constructor/messageExtendedMediaPreview.md) | Paid media preview for not yet purchased paid media, [see here »](/api/paid-media.md) for more info. |
| [messageExtendedMedia](/constructor/messageExtendedMedia.md) | Already purchased paid media, [see here »](/api/paid-media.md) for more info. |

### Related pages

#### [Paid media](/api/paid-media.md)
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 th