View Source ExTDLib.Object.ChatBoostSourceGiveaway (ExTDLib v0.0.4)
The chat created a Telegram Premium giveaway.
| Name | Type | Description |
|---|---|---|
| user_id | string | Identifier of a user that won in the giveaway; 0 if none. |
| gift_code | string | The created Telegram Premium gift code if it was used by the user or can be claimed by the current user; an empty string otherwise. |
| giveaway_message_id | string | Identifier of the corresponding giveaway message; can be an identifier of a deleted message. |
| is_unclaimed | bool | True, if the winner for the corresponding Telegram Premium subscription wasn't chosen, because there were not enough participants. |
More details on telegram's documentation.