Inherits MessageContent.
A Telegram Premium giveaway with public winners has been completed for the chat.
Public Fields | |
int53 | boosted_chat_id_ |
Identifier of the channel chat, which was automatically boosted by the winners of the giveaway for duration of the Premium subscription. | |
int53 | giveaway_message_id_ |
Identifier of the message with the giveaway in the boosted chat. | |
int32 | additional_chat_count_ |
Number of other chats that participated in the giveaway. | |
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 | only_new_members_ |
True, if only new members of the chats were eligible for the giveaway. | |
bool | was_refunded_ |
True, if the giveaway was canceled and was fully refunded. | |
int32 | month_count_ |
Number of months the Telegram Premium subscription will be active after code activation. | |
string | prize_description_ |
Additional description of the giveaway prize. | |
int32 | winner_count_ |
Total number of winners in the giveaway. | |
array< int53 > | winner_user_ids_ |
Up to 100 user identifiers of the winners of the giveaway. | |
int32 | unclaimed_prize_count_ |
Number of undistributed prizes. | |
Public Instance Methods | |
messagePremiumGiveawayWinners () | |
messagePremiumGiveawayWinners (int53 boosted_chat_id_, int53 giveaway_message_id_, int32 additional_chat_count_, int32 actual_winners_selection_date_, bool only_new_members_, bool was_refunded_, int32 month_count_, string const &prize_description_, int32 winner_count_, array< int53 > &&winner_user_ids_, int32 unclaimed_prize_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 = -1326563847 |
Identifier uniquely determining a type of the object. | |
A Telegram Premium giveaway with public winners has been completed for the chat.
messagePremiumGiveawayWinners | ( | int53 | boosted_chat_id_, |
int53 | giveaway_message_id_, | ||
int32 | additional_chat_count_, | ||
int32 | actual_winners_selection_date_, | ||
bool | only_new_members_, | ||
bool | was_refunded_, | ||
int32 | month_count_, | ||
string const & | prize_description_, | ||
int32 | winner_count_, | ||
array< int53 > && | winner_user_ids_, | ||
int32 | unclaimed_prize_count_ | ||
) |
A Telegram Premium giveaway with public winners has been completed for the chat.
[in] | boosted_chat_id_ | Identifier of the channel chat, which was automatically boosted by the winners of the giveaway for duration of the Premium subscription. |
[in] | giveaway_message_id_ | Identifier of the message with the giveaway in the boosted chat. |
[in] | additional_chat_count_ | Number of other chats that participated in the giveaway. |
[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] | only_new_members_ | True, if only new members of the chats were eligible for the giveaway. |
[in] | was_refunded_ | True, if the giveaway was canceled and was fully refunded. |
[in] | month_count_ | Number of months the Telegram Premium subscription will be active after code activation. |
[in] | prize_description_ | Additional description of the giveaway prize. |
[in] | winner_count_ | Total number of winners in the giveaway. |
[in] | winner_user_ids_ | Up to 100 user identifiers of the winners of the giveaway. |
[in] | unclaimed_prize_count_ | Number of undistributed prizes. |
|
finalvirtual |