Link Search Menu Expand Document

Constructor: prepaidGiveaway

Back to constructors index

Contains info about a prepaid giveaway ».

Attributes:

NameTypeRequiredDescription
idlongYesPrepaid giveaway ID.
monthsintYesDuration in months of each gifted Telegram Premium subscription.
quantityintYesNumber of given away Telegram Premium subscriptions.
dateintYesPayment date.

Type: PrepaidGiveaway

Example:

$prepaidGiveaway = ['_' => 'prepaidGiveaway', 'id' => long, 'months' => int, 'quantity' => int, 'date' => int];