MessageMediaPaidMedia#

class pyrogram.raw.types.MessageMediaPaidMedia#

Paid media, see here for more info.

Constructor of MessageMedia.

Details:
  • Layer: 220

  • 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 2 functions.

messages.UploadMedia

Upload a file and associate it to a chat (without actually sending it to the chat) May also be used in a business connection, not by wrapping the query in invokeWithBusinessConnection , but rather by specifying the business connection ID in the business_connection_id parameter.

messages.UploadImportedMedia

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