messageMediaWidget
Signature
Section titled “Signature”messageMediaWidget#2238f214 flags:# is_copy:flags.0?true can_query:flags.1?true background_query:flags.2?true width:int height:int payload:bytes public_data:flags.3?string public_data_hash:flags.3?long chat_data:flags.4?string widget_id:flags.5?long = MessageMedia;Result type
Section titled “Result type”MessageMedia
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| is_copy | flags.0?true | flags.0 | — | |
| can_query | flags.1?true | flags.1 | — | |
| background_query | flags.2?true | flags.2 | — | |
| width | int | — | — | |
| height | int | — | — | |
| payload | bytes | — | — | |
| public_data | flags.3?string | flags.3 | — | |
| public_data_hash | flags.3?long | flags.3 | — | |
| chat_data | flags.4?string | flags.4 | — | |
| widget_id | flags.5?long | flags.5 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| is_copy | 0 | Controlled by flags; present when this bit is set. |
| can_query | 1 | Controlled by flags; present when this bit is set. |
| background_query | 2 | Controlled by flags; present when this bit is set. |
| public_data | 3 | Controlled by flags; present when this bit is set. |
| public_data_hash | 3 | Controlled by flags; present when this bit is set. |
| chat_data | 4 | Controlled by flags; present when this bit is set. |
| widget_id | 5 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import MessageMediaWidgetPublic access: miniproto.raw.types.MessageMediaWidget.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
MessageMedia - Related constructors:
messageMediaContact,messageMediaDice,messageMediaDocument,messageMediaEmpty,messageMediaGame,messageMediaGeo,messageMediaGeoLive,messageMediaGiveaway,messageMediaGiveawayResults,messageMediaInvoice,messageMediaPaidMedia,messageMediaPhoto,messageMediaPoll,messageMediaStory,messageMediaToDo,messageMediaUnsupported,messageMediaVenue,messageMediaVideoStream,messageMediaWebPage - Accepted by:
botPreviewMedia,ephemeralMessage,message,messageExtendedMedia,messageMediaPoll,messageReplyHeader,messages.webPagePreview,pollAnswer,pollResults,sponsoredMessage,starsTransaction,storyItem,updateServiceNotification,updateShortSentMessage - Returned by:
messages.uploadImportedMedia,messages.uploadMedia