messageExtendedMediaPreview
Signature
Section titled “Signature”messageExtendedMediaPreview#ad628cc8 flags:# w:flags.0?int h:flags.0?int thumb:flags.1?PhotoSize video_duration:flags.2?int = MessageExtendedMedia;Result type
Section titled “Result type”MessageExtendedMedia
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| w | flags.0?int | flags.0 | — | |
| h | flags.0?int | flags.0 | — | |
| thumb | flags.1?PhotoSize | flags.1 | — | |
| video_duration | flags.2?int | flags.2 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| w | 0 | Controlled by flags; present when this bit is set. |
| h | 0 | Controlled by flags; present when this bit is set. |
| thumb | 1 | Controlled by flags; present when this bit is set. |
| video_duration | 2 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import MessageExtendedMediaPreviewPublic access: miniproto.raw.types.MessageExtendedMediaPreview.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
MessageExtendedMedia - Related constructors:
messageExtendedMedia - Accepted by:
messageMediaInvoice,messageMediaPaidMedia,updateMessageExtendedMedia