MessageMediaGiveawayResults#

class pyrogram.raw.types.MessageMediaGiveawayResults#

Telegram API type.

Constructor of MessageMedia.

Details:
  • Layer: 224

  • ID: CEAA3EA1

Parameters:
  • channel_id (int 64-bit) – N/A

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

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

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

  • winners (List of int 64-bit) – N/A

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

  • only_new_subscribers (bool, optional) – N/A

  • refunded (bool, optional) – N/A

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

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

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

  • prize_description (str, optional) – N/A

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.