Inherits Function.
Launches a prepaid Telegram Premium giveaway.
Returns object_ptr<Ok>.
Public Fields | |
int64 | giveaway_id_ |
Unique identifier of the prepaid giveaway. | |
object_ptr< premiumGiveawayParameters > | parameters_ |
Giveaway parameters. | |
Public Types | |
using | ReturnType = object_ptr< ok > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
launchPrepaidPremiumGiveaway () | |
launchPrepaidPremiumGiveaway (int64 giveaway_id_, object_ptr< premiumGiveawayParameters > &¶meters_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 1395195553 |
Identifier uniquely determining a type of the object. | |
Default constructor for a function, which launches a prepaid Telegram Premium giveaway.
Returns object_ptr<Ok>.
launchPrepaidPremiumGiveaway | ( | int64 | giveaway_id_, |
object_ptr< premiumGiveawayParameters > && | parameters_ | ||
) |
Creates a function, which launches a prepaid Telegram Premium giveaway.
Returns object_ptr<Ok>.
[in] | giveaway_id_ | Unique identifier of the prepaid giveaway. |
[in] | parameters_ | Giveaway parameters. |
|
finalvirtual |