Layer 224
PrepaidGiveawayObj
Contains info about a prepaid giveaway.
constructor
prepaidGiveaway#b2539d54 id:long months:int quantity:int date:int = PrepaidGiveaway;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | long | Prepaid giveaway ID. |
| Months | int | Duration in months of each gifted Telegram Premium subscription. |
| Quantity | int | Number of given away Telegram Premium subscriptions. |
| Date | int | Payment date. |
Returns
PrepaidGiveawayGogram Example
// Creating PrepaidGiveawayObj constructor obj := &tg.PrepaidGiveawayObj{ Id: int64(1234567890), Months: 42, Quantity: 42, Date: 42, }