Link Search Menu Expand Document

Constructor: updateMessageExtendedMedia

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
peerlongYesPeer where the paid media was posted
msg_idintYesID of the message containing the paid media
extended_mediaArray of MessageExtendedMediaYesRevealed media, contains only messageExtendedMedia constructors.

Type: Update

Example:

$updateMessageExtendedMedia = ['_' => 'updateMessageExtendedMedia', 'peer' => long, 'msg_id' => int, 'extended_media' => [MessageExtendedMedia, MessageExtendedMedia]];