payments.GiveawayInfo

class pyrogram.raw.base.payments.GiveawayInfo

Info about a Telegram Premium Giveaway.

Constructors:

This base type has 2 constructors available.

payments.GiveawayInfo

Contains info about an ongoing giveaway.

payments.GiveawayInfoResults

A giveaway has ended.

Functions:

This object can be returned by 1 function.

payments.GetGiveawayInfo

Obtain information about a Telegram Premium giveaway ».

TL Schema

payments.giveawayInfo#4367daa0
flags:#
participating:flags.0?true
preparing_results:flags.3?true
start_date:int
joined_too_early_date:flags.1?int
admin_disallowed_chat_id:flags.2?long
disallowed_country:flags.4?string

= payments.GiveawayInfo

Parameter Tree

GiveawayInfo
├── participatingtrue (optional)
├── preparing_resultstrue (optional)
├── start_dateint
├── joined_too_early_dateint (optional)
├── admin_disallowed_chat_idlong (optional)
└── disallowed_countrystring (optional)

Example

GiveawayInfo(
    participating=None,
    preparing_results=None,
    start_date=0,
    joined_too_early_date=0,
    admin_disallowed_chat_id=0,
    disallowed_country="text",
)