UpdateMessageExtendedMedia
- class pyrogram.raw.types.UpdateMessageExtendedMedia
You bought a paid media »: this update contains the revealed media.
Constructor of
Update.- Details:
Layer:
223ID:
D5A41724
- Parameters:
peer (
Peer) – Peer where the paid media was postedmsg_id (
int32-bit) – ID of the message containing the paid mediaextended_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
├── peer →
Peer│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long├── msg_id →
int└── extended_media →
Vector < MessageExtendedMedia >│ ├── w →
int (optional)│ ├── h →
int (optional)│ ├── thumb →
PhotoSize (optional)│ │ ├──
PhotoSizeEmpty│ │ │ └── type →
string│ │ ├──
PhotoSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── size →
int│ │ ├──
PhotoCachedSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── bytes →
bytes│ │ ├──
PhotoStrippedSize│ │ │ ├── type →
string│ │ │ └── bytes →
bytes│ │ ├──
PhotoSizeProgressive│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── sizes →
Vector < int >│ │ └──
PhotoPathSize│ │ ├── type →
string│ │ └── bytes →
bytes│ └── video_duration →
int (optional)└── media →
MessageMedia│ ├── spoiler →
true (optional)│ ├── photo →
Photo (optional)│ │ ├──
PhotoEmpty│ │ └──
Photo│ └── ttl_seconds →
int (optional)├──
MessageMediaGeo│ └── geo →
GeoPoint│ ├──
GeoPointEmpty│ └──
GeoPoint│ ├── phone_number →
string│ ├── first_name →
string│ ├── last_name →
string│ ├── vcard →
string│ └── user_id →
long│ ├── nopremium →
true (optional)│ ├── spoiler →
true (optional)│ ├── video →
true (optional)│ ├── round →
true (optional)│ ├── voice →
true (optional)│ ├── document →
Document (optional)│ │ ├──
DocumentEmpty│ │ └──
Document│ ├── alt_documents →
Vector < Document > (optional)│ │ ├──
DocumentEmpty│ │ └──
Document│ ├── video_cover →
Photo (optional)│ │ ├──
PhotoEmpty│ │ └──
Photo│ ├── video_timestamp →
int (optional)│ └── ttl_seconds →
int (optional)│ ├── force_large_media →
true (optional)│ ├── force_small_media →
true (optional)│ ├── manual →
true (optional)│ ├── safe →
true (optional)│ └── webpage →
WebPage│ ├──
WebPageEmpty│ ├──
WebPagePending│ ├──
WebPage│ └──
WebPageNotModified│ ├── geo →
GeoPoint│ │ ├──
GeoPointEmpty│ │ └──
GeoPoint│ ├── title →
string│ ├── address →
string│ ├── provider →
string│ ├── venue_id →
string│ └── venue_type →
string├──
MessageMediaGame│ └── game →
Game│ └──
Game│ ├── shipping_address_requested →
true (optional)│ ├── test →
true (optional)│ ├── title →
string│ ├── description →
string│ ├── photo →
WebDocument (optional)│ │ ├──
WebDocument│ │ └──
WebDocumentNoProxy│ ├── receipt_msg_id →
int (optional)│ ├── currency →
string│ ├── total_amount →
long│ ├── start_param →
string│ └── extended_media →
MessageExtendedMedia (optional)│ └──
MessageExtendedMedia│ ├── geo →
GeoPoint│ │ ├──
GeoPointEmpty│ │ └──
GeoPoint│ ├── heading →
int (optional)│ ├── period →
int│ └── proximity_notification_radius →
int (optional)├──
MessageMediaPoll│ ├── poll →
Poll│ │ └──
Poll│ └── results →
PollResults│ └──
PollResults├──
MessageMediaDice│ ├── value →
int│ ├── emoticon →
string│ └── game_outcome →
messages.EmojiGameOutcome (optional)│ ├── via_mention →
true (optional)│ ├── peer →
Peer│ │ ├──
PeerUser│ │ ├──
PeerChat│ │ └──
PeerChannel│ ├── id →
int│ └── story →
StoryItem (optional)│ ├──
StoryItemDeleted│ ├──
StoryItemSkipped│ └──
StoryItem│ ├── only_new_subscribers →
true (optional)│ ├── winners_are_visible →
true (optional)│ ├── channels →
Vector < long >│ ├── countries_iso2 →
Vector < string > (optional)│ ├── prize_description →
string (optional)│ ├── quantity →
int│ ├── months →
int (optional)│ ├── stars →
long (optional)│ └── until_date →
int│ ├── only_new_subscribers →
true (optional)│ ├── refunded →
true (optional)│ ├── channel_id →
long│ ├── additional_peers_count →
int (optional)│ ├── launch_msg_id →
int│ ├── winners_count →
int│ ├── unclaimed_count →
int│ ├── winners →
Vector < long >│ ├── months →
int (optional)│ ├── stars →
long (optional)│ ├── prize_description →
string (optional)│ └── until_date →
int│ ├── stars_amount →
long│ └── extended_media →
Vector < MessageExtendedMedia >│ └──
MessageExtendedMedia├──
MessageMediaToDo│ ├── todo →
TodoList│ │ └──
TodoList│ └── completions →
Vector < TodoCompletion > (optional)│ └──
TodoCompletion├── rtmp_stream →
true (optional)└── call →
InputGroupCallExample
UpdateMessageExtendedMedia(
peer=PeerUser(user_id=0),
msg_id=0,
extended_media=[
MessageExtendedMediaPreview()
],
)