UpdateMessageExtendedMedia

class pyrogram.raw.types.UpdateMessageExtendedMedia

You bought a paid media »: this update contains the revealed media.

Constructor of Update.

Details:
  • Layer: 223

  • ID: D5A41724

Parameters:
  • peer (Peer) – Peer where the paid media was posted

  • msg_id (int 32-bit) – ID of the message containing the paid media

  • extended_media (List of MessageExtendedMedia) – Revealed media, contains only messageExtendedMedia constructors.

TL Schema

updateMessageExtendedMedia#d5a41724
peer:Peer
msg_id:int
extended_media:Vector<MessageExtendedMedia>

= Update

Parameter Tree

UpdateMessageExtendedMedia
├── peerPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── msg_idint
└── extended_mediaVector < MessageExtendedMedia >
│ ├── wint (optional)
│ ├── hint (optional)
│ ├── thumbPhotoSize (optional)
│ │ ├── PhotoSizeEmpty
│ │ │ └── typestring
│ │ ├── PhotoSize
│ │ │ ├── typestring
│ │ │ ├── wint
│ │ │ ├── hint
│ │ │ └── sizeint
│ │ ├── PhotoCachedSize
│ │ │ ├── typestring
│ │ │ ├── wint
│ │ │ ├── hint
│ │ │ └── bytesbytes
│ │ ├── PhotoStrippedSize
│ │ │ ├── typestring
│ │ │ └── bytesbytes
│ │ ├── PhotoSizeProgressive
│ │ │ ├── typestring
│ │ │ ├── wint
│ │ │ ├── hint
│ │ │ └── sizesVector < int >
│ │ └── PhotoPathSize
│ │ ├── typestring
│ │ └── bytesbytes
│ └── video_durationint (optional)
└── mediaMessageMedia
│ ├── spoilertrue (optional)
│ ├── photoPhoto (optional)
│ │ ├── PhotoEmpty
│ │ └── Photo
│ └── ttl_secondsint (optional)
├── MessageMediaGeo
│ └── geoGeoPoint
│ ├── GeoPointEmpty
│ └── GeoPoint
│ ├── phone_numberstring
│ ├── first_namestring
│ ├── last_namestring
│ ├── vcardstring
│ └── user_idlong
│ ├── nopremiumtrue (optional)
│ ├── spoilertrue (optional)
│ ├── videotrue (optional)
│ ├── roundtrue (optional)
│ ├── voicetrue (optional)
│ ├── documentDocument (optional)
│ │ ├── DocumentEmpty
│ │ └── Document
│ ├── alt_documentsVector < Document > (optional)
│ │ ├── DocumentEmpty
│ │ └── Document
│ ├── video_coverPhoto (optional)
│ │ ├── PhotoEmpty
│ │ └── Photo
│ ├── video_timestampint (optional)
│ └── ttl_secondsint (optional)
│ ├── force_large_mediatrue (optional)
│ ├── force_small_mediatrue (optional)
│ ├── manualtrue (optional)
│ ├── safetrue (optional)
│ └── webpageWebPage
│ ├── WebPageEmpty
│ ├── WebPagePending
│ ├── WebPage
│ └── WebPageNotModified
│ ├── geoGeoPoint
│ │ ├── GeoPointEmpty
│ │ └── GeoPoint
│ ├── titlestring
│ ├── addressstring
│ ├── providerstring
│ ├── venue_idstring
│ └── venue_typestring
│ └── gameGame
│ └── Game
│ ├── shipping_address_requestedtrue (optional)
│ ├── testtrue (optional)
│ ├── titlestring
│ ├── descriptionstring
│ ├── photoWebDocument (optional)
│ │ ├── WebDocument
│ │ └── WebDocumentNoProxy
│ ├── receipt_msg_idint (optional)
│ ├── currencystring
│ ├── total_amountlong
│ ├── start_paramstring
│ └── extended_mediaMessageExtendedMedia (optional)
│ └── MessageExtendedMedia
│ ├── geoGeoPoint
│ │ ├── GeoPointEmpty
│ │ └── GeoPoint
│ ├── headingint (optional)
│ ├── periodint
│ └── proximity_notification_radiusint (optional)
│ ├── pollPoll
│ │ └── Poll
│ └── resultsPollResults
│ └── PollResults
│ ├── valueint
│ ├── emoticonstring
│ └── game_outcomemessages.EmojiGameOutcome (optional)
│ ├── via_mentiontrue (optional)
│ ├── peerPeer
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── idint
│ └── storyStoryItem (optional)
│ ├── StoryItemDeleted
│ ├── StoryItemSkipped
│ └── StoryItem
│ ├── only_new_subscriberstrue (optional)
│ ├── winners_are_visibletrue (optional)
│ ├── channelsVector < long >
│ ├── countries_iso2Vector < string > (optional)
│ ├── prize_descriptionstring (optional)
│ ├── quantityint
│ ├── monthsint (optional)
│ ├── starslong (optional)
│ └── until_dateint
│ ├── only_new_subscriberstrue (optional)
│ ├── refundedtrue (optional)
│ ├── channel_idlong
│ ├── additional_peers_countint (optional)
│ ├── launch_msg_idint
│ ├── winners_countint
│ ├── unclaimed_countint
│ ├── winnersVector < long >
│ ├── monthsint (optional)
│ ├── starslong (optional)
│ ├── prize_descriptionstring (optional)
│ └── until_dateint
│ ├── stars_amountlong
│ └── extended_mediaVector < MessageExtendedMedia >
│ └── MessageExtendedMedia
│ ├── todoTodoList
│ │ └── TodoList
│ └── completionsVector < TodoCompletion > (optional)
│ └── TodoCompletion
├── rtmp_streamtrue (optional)
└── callInputGroupCall

Example

UpdateMessageExtendedMedia(
    peer=PeerUser(user_id=0),
    msg_id=0,
    extended_media=[
            MessageExtendedMediaPreview()
        ],
)