Inherits Function.
Launches a prepaid giveaway.
Returns object_ptr<Ok>.
Public Fields | |
| int64 | giveaway_id_ |
| Unique identifier of the prepaid giveaway. | |
| object_ptr< giveawayParameters > | parameters_ |
| Giveaway parameters. | |
| int32 | winner_count_ |
| The number of users to receive giveaway prize. | |
| int53 | star_count_ |
| The number of Telegram Stars to be distributed through the giveaway; pass 0 for Telegram Premium giveaways. | |
Public Types | |
| using | ReturnType = object_ptr< ok > |
| Typedef for the type returned by the function. | |
Public Instance Methods | |
| launchPrepaidGiveaway () | |
| launchPrepaidGiveaway (int64 giveaway_id_, object_ptr< giveawayParameters > &¶meters_, int32 winner_count_, int53 star_count_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| 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 = 639465530 |
| Identifier uniquely determining a type of the object. | |
Default constructor for a function, which launches a prepaid giveaway.
Returns object_ptr<Ok>.
| launchPrepaidGiveaway | ( | int64 | giveaway_id_, |
| object_ptr< giveawayParameters > && | parameters_, | ||
| int32 | winner_count_, | ||
| int53 | star_count_ | ||
| ) |
Creates a function, which launches a prepaid giveaway.
Returns object_ptr<Ok>.
| [in] | giveaway_id_ | Unique identifier of the prepaid giveaway. |
| [in] | parameters_ | Giveaway parameters. |
| [in] | winner_count_ | The number of users to receive giveaway prize. |
| [in] | star_count_ | The number of Telegram Stars to be distributed through the giveaway; pass 0 for Telegram Premium giveaways. |
|
finalvirtual |