Inherits MessageContent.
A giveaway without public winners has been completed for the chat.
Public Fields | |
| int53 | giveaway_message_id_ |
| Identifier of the message with the giveaway; can be 0 if the message was deleted. | |
| int32 | winner_count_ |
| Number of winners in the giveaway. | |
| bool | is_star_giveaway_ |
| True, if the giveaway is a Telegram Star giveaway. | |
| int32 | unclaimed_prize_count_ |
| Number of undistributed prizes; for Telegram Premium giveaways only. | |
Public Instance Methods | |
| messageGiveawayCompleted () | |
| messageGiveawayCompleted (int53 giveaway_message_id_, int32 winner_count_, bool is_star_giveaway_, 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 = -467351305 |
| Identifier uniquely determining a type of the object. | |
A giveaway without public winners has been completed for the chat.
| messageGiveawayCompleted | ( | int53 | giveaway_message_id_, |
| int32 | winner_count_, | ||
| bool | is_star_giveaway_, | ||
| int32 | unclaimed_prize_count_ | ||
| ) |
A giveaway without public winners has been completed for the chat.
| [in] | giveaway_message_id_ | Identifier of the message with the giveaway; can be 0 if the message was deleted. |
| [in] | winner_count_ | Number of winners in the giveaway. |
| [in] | is_star_giveaway_ | True, if the giveaway is a Telegram Star giveaway. |
| [in] | unclaimed_prize_count_ | Number of undistributed prizes; for Telegram Premium giveaways only. |
|
finalvirtual |