ChatBoostSourceGiveaway
Object Hierarchy:
Description:
public class ChatBoostSourceGiveaway :
ChatBoostSource
The chat created a giveaway
Content:
Properties:
- public string gift_code { get; set construct; }
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; for Telegram Premium giveways only
- public int64 giveaway_message_id { get; set construct; }
Identifier of the corresponding giveaway message; can be an identifier
of a deleted message
- public bool is_unclaimed { get; set construct; }
True, if the winner for the corresponding giveaway prize wasn't
chosen, because there were not enough participants
- public int64 star_count { get; set construct; }
Number of Telegram Stars distributed among winners of the giveaway
- public int64 user_id { get; set construct; }
Identifier of a user that won in the giveaway; 0 if none
Creation methods:
- public ChatBoostSourceGiveaway (int64 user_id, string gift_code, int64 star_count, int64 giveaway_message_id, bool is_unclaimed)
Inherited Members:
All known members inherited from class TDLib.Error
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref