#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| int32 | creation_date_ |
| | Point in time (Unix timestamp) when the giveaway was created.
|
| |
| int32 | actual_winners_selection_date_ |
| | Point in time (Unix timestamp) when the winners were selected. May be bigger than winners selection date specified in parameters of the giveaway.
|
| |
| bool | was_refunded_ |
| | True, if the giveaway was canceled and was fully refunded.
|
| |
| bool | is_winner_ |
| | True, if the current user is a winner of the giveaway.
|
| |
| int32 | winner_count_ |
| | Number of winners in the giveaway.
|
| |
| int32 | activation_count_ |
| | Number of winners, which activated their gift codes; for Telegram Premium giveaways only.
|
| |
| string | gift_code_ |
| | Telegram Premium gift code that was received by the current user; empty if the user isn't a winner in the giveaway or the giveaway isn't a Telegram Premium giveaway.
|
| |
| int53 | won_star_count_ |
| | The Telegram Star amount won by the current user; 0 if the user isn't a winner in the giveaway or the giveaway isn't a Telegram Star giveaway.
|
| |
|
| static const std::int32_t | ID = 848085852 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes a completed giveaway.
Definition at line 24204 of file td_api.h.
◆ giveawayInfoCompleted() [1/2]
| td::td_api::giveawayInfoCompleted::giveawayInfoCompleted |
( |
| ) |
|
Describes a completed giveaway.
◆ giveawayInfoCompleted() [2/2]
| td::td_api::giveawayInfoCompleted::giveawayInfoCompleted |
( |
int32 |
creation_date_, |
|
|
int32 |
actual_winners_selection_date_, |
|
|
bool |
was_refunded_, |
|
|
bool |
is_winner_, |
|
|
int32 |
winner_count_, |
|
|
int32 |
activation_count_, |
|
|
string const & |
gift_code_, |
|
|
int53 |
won_star_count_ |
|
) |
| |
Describes a completed giveaway.
- Parameters
-
| [in] | creation_date_ | Point in time (Unix timestamp) when the giveaway was created. |
| [in] | actual_winners_selection_date_ | Point in time (Unix timestamp) when the winners were selected. May be bigger than winners selection date specified in parameters of the giveaway. |
| [in] | was_refunded_ | True, if the giveaway was canceled and was fully refunded. |
| [in] | is_winner_ | True, if the current user is a winner of the giveaway. |
| [in] | winner_count_ | Number of winners in the giveaway. |
| [in] | activation_count_ | Number of winners, which activated their gift codes; for Telegram Premium giveaways only. |
| [in] | gift_code_ | Telegram Premium gift code that was received by the current user; empty if the user isn't a winner in the giveaway or the giveaway isn't a Telegram Premium giveaway. |
| [in] | won_star_count_ | The Telegram Star amount won by the current user; 0 if the user isn't a winner in the giveaway or the giveaway isn't a Telegram Star giveaway. |
◆ store()
| void td::td_api::giveawayInfoCompleted::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.
◆ activation_count_
| int32 td::td_api::giveawayInfoCompleted::activation_count_ |
Number of winners, which activated their gift codes; for Telegram Premium giveaways only.
Definition at line 24225 of file td_api.h.
◆ actual_winners_selection_date_
| int32 td::td_api::giveawayInfoCompleted::actual_winners_selection_date_ |
Point in time (Unix timestamp) when the winners were selected. May be bigger than winners selection date specified in parameters of the giveaway.
Definition at line 24217 of file td_api.h.
◆ creation_date_
| int32 td::td_api::giveawayInfoCompleted::creation_date_ |
Point in time (Unix timestamp) when the giveaway was created.
Definition at line 24215 of file td_api.h.
◆ gift_code_
| string td::td_api::giveawayInfoCompleted::gift_code_ |
Telegram Premium gift code that was received by the current user; empty if the user isn't a winner in the giveaway or the giveaway isn't a Telegram Premium giveaway.
Definition at line 24227 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::giveawayInfoCompleted::ID = 848085852 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 24251 of file td_api.h.
◆ is_winner_
| bool td::td_api::giveawayInfoCompleted::is_winner_ |
True, if the current user is a winner of the giveaway.
Definition at line 24221 of file td_api.h.
◆ was_refunded_
| bool td::td_api::giveawayInfoCompleted::was_refunded_ |
True, if the giveaway was canceled and was fully refunded.
Definition at line 24219 of file td_api.h.
◆ winner_count_
| int32 td::td_api::giveawayInfoCompleted::winner_count_ |
Number of winners in the giveaway.
Definition at line 24223 of file td_api.h.
◆ won_star_count_
| int53 td::td_api::giveawayInfoCompleted::won_star_count_ |
The Telegram Star amount won by the current user; 0 if the user isn't a winner in the giveaway or the giveaway isn't a Telegram Star giveaway.
Definition at line 24229 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