MessageMediaPaidMedia#

class pyrogram.raw.types.MessageMediaPaidMedia#

Paid media, see here » for more info.

Constructor of MessageMedia.

Details:
  • Layer: 187

  • ID: A8852491

Parameters:
  • stars_amount (int 64-bit) – The price of the media in Telegram Stars.

  • extended_media (List of MessageExtendedMedia) – Either the paid-for media, or super low resolution media previews if the media wasn’t purchased yet, see here » for more info.

Functions:

This object can be returned by 3 functions.

messages.GetWebPagePreview

Get preview of webpage

messages.UploadMedia

Upload a file and associate it to a chat (without actually sending it to the chat)

messages.UploadImportedMedia

Upload a media file associated with an imported chat, click here for more info ».