#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| | messageGiveawayWinners () |
| |
| | messageGiveawayWinners (int53 boosted_chat_id_, int53 giveaway_message_id_, int32 additional_chat_count_, int32 actual_winners_selection_date_, bool only_new_members_, bool was_refunded_, object_ptr< GiveawayPrize > &&prize_, 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 |
| |
| 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 const std::int32_t | ID = 2098585405 |
| | Identifier uniquely determining a type of the object.
|
| |
A giveaway with public winners has been completed for the chat.
Definition at line 41974 of file td_api.h.
◆ messageGiveawayWinners() [1/2]
| td::td_api::messageGiveawayWinners::messageGiveawayWinners |
( |
| ) |
|
A giveaway with public winners has been completed for the chat.
◆ messageGiveawayWinners() [2/2]
| td::td_api::messageGiveawayWinners::messageGiveawayWinners |
( |
int53 |
boosted_chat_id_, |
|
|
int53 |
giveaway_message_id_, |
|
|
int32 |
additional_chat_count_, |
|
|
int32 |
actual_winners_selection_date_, |
|
|
bool |
only_new_members_, |
|
|
bool |
was_refunded_, |
|
|
object_ptr< GiveawayPrize > && |
prize_, |
|
|
string const & |
prize_description_, |
|
|
int32 |
winner_count_, |
|
|
array< int53 > && |
winner_user_ids_, |
|
|
int32 |
unclaimed_prize_count_ |
|
) |
| |
A giveaway with public winners has been completed for the chat.
- Parameters
-
| [in] | boosted_chat_id_ | Identifier of the supergroup or channel chat, which was automatically boosted by the winners of the giveaway. |
| [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] | prize_ | Prize of the giveaway. |
| [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; for Telegram Premium giveaways only. |
◆ store()
| void td::td_api::messageGiveawayWinners::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.
◆ actual_winners_selection_date_
| int32 td::td_api::messageGiveawayWinners::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 41991 of file td_api.h.
◆ additional_chat_count_
| int32 td::td_api::messageGiveawayWinners::additional_chat_count_ |
Number of other chats that participated in the giveaway.
Definition at line 41989 of file td_api.h.
◆ boosted_chat_id_
| int53 td::td_api::messageGiveawayWinners::boosted_chat_id_ |
Identifier of the supergroup or channel chat, which was automatically boosted by the winners of the giveaway.
Definition at line 41985 of file td_api.h.
◆ giveaway_message_id_
| int53 td::td_api::messageGiveawayWinners::giveaway_message_id_ |
Identifier of the message with the giveaway in the boosted chat.
Definition at line 41987 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::messageGiveawayWinners::ID = 2098585405 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 42030 of file td_api.h.
◆ only_new_members_
| bool td::td_api::messageGiveawayWinners::only_new_members_ |
True, if only new members of the chats were eligible for the giveaway.
Definition at line 41993 of file td_api.h.
◆ prize_
Prize of the giveaway.
Definition at line 41997 of file td_api.h.
◆ prize_description_
| string td::td_api::messageGiveawayWinners::prize_description_ |
Additional description of the giveaway prize.
Definition at line 41999 of file td_api.h.
◆ unclaimed_prize_count_
| int32 td::td_api::messageGiveawayWinners::unclaimed_prize_count_ |
Number of undistributed prizes; for Telegram Premium giveaways only.
Definition at line 42005 of file td_api.h.
◆ was_refunded_
| bool td::td_api::messageGiveawayWinners::was_refunded_ |
True, if the giveaway was canceled and was fully refunded.
Definition at line 41995 of file td_api.h.
◆ winner_count_
| int32 td::td_api::messageGiveawayWinners::winner_count_ |
Total number of winners in the giveaway.
Definition at line 42001 of file td_api.h.
◆ winner_user_ids_
| array<int53> td::td_api::messageGiveawayWinners::winner_user_ids_ |
Up to 100 user identifiers of the winners of the giveaway.
Definition at line 42003 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