MessageMediaGiveaway

class pyrogram.raw.types.MessageMediaGiveaway

Telegram API type.

Constructor of MessageMedia.

Details:
  • Layer: 194

  • ID: AA073BEB

Parameters:
  • channels (List of int 64-bit) – N/A

  • quantity (int 32-bit) – N/A

  • until_date (int 32-bit) – N/A

  • only_new_subscribers (bool, optional) – N/A

  • winners_are_visible (bool, optional) – N/A

  • countries_iso2 (List of str, optional) – N/A

  • prize_description (str, optional) – N/A

  • months (int 32-bit, optional) – N/A

  • stars (int 64-bit, optional) – N/A

Functions:

This object can be returned by 3 functions.

messages.GetWebPagePreview

Telegram API function.

messages.UploadMedia

Telegram API function.

messages.UploadImportedMedia

Telegram API function.