PaidMediaPreview#

class pyrogram.types.PaidMediaPreview#

The paid media isn’t available before the payment.

Parameters:
  • width (int, optional) – Media width as defined by the sender.

  • height (int, optional) – Media height as defined by the sender.

  • duration (int, optional) – Duration of the media in seconds as defined by the sender.

  • minithumbnail (StrippedThumbnail, optional) – Media minithumbnail; may be None.