PaidMedia

class pyrogram.types.PaidMedia

Represents a paid media.

Parameters:
  • stars_amount (int) – The amount of stars required to buy the media.

  • extended_media (List of Any, optional) – List of extended media (preview or actual media). Can contain Photo, Video, or preview information.