#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = 639465530 |
| | Identifier uniquely determining a type of the object.
|
| |
Launches a prepaid giveaway.
Returns object_ptr<Ok>.
Definition at line 116719 of file td_api.h.
◆ ReturnType
Typedef for the type returned by the function.
Definition at line 116761 of file td_api.h.
◆ launchPrepaidGiveaway() [1/2]
| td::td_api::launchPrepaidGiveaway::launchPrepaidGiveaway |
( |
| ) |
|
Default constructor for a function, which launches a prepaid giveaway.
Returns object_ptr<Ok>.
◆ launchPrepaidGiveaway() [2/2]
Creates a function, which launches a prepaid giveaway.
Returns object_ptr<Ok>.
- Parameters
-
| [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. |
◆ store()
| void td::td_api::launchPrepaidGiveaway::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ giveaway_id_
| int64 td::td_api::launchPrepaidGiveaway::giveaway_id_ |
Unique identifier of the prepaid giveaway.
Definition at line 116730 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::launchPrepaidGiveaway::ID = 639465530 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 116758 of file td_api.h.
◆ parameters_
◆ star_count_
| int53 td::td_api::launchPrepaidGiveaway::star_count_ |
The number of Telegram Stars to be distributed through the giveaway; pass 0 for Telegram Premium giveaways.
Definition at line 116736 of file td_api.h.
◆ winner_count_
| int32 td::td_api::launchPrepaidGiveaway::winner_count_ |
The number of users to receive giveaway prize.
Definition at line 116734 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h