GiveawayInfoCompleted
Object Hierarchy:
Description:
public class GiveawayInfoCompleted :
GiveawayInfo
Describes a completed giveaway
Content:
Properties:
- public int32 activation_count { get; set construct; }
Number of winners, which activated their gift codes; for Telegram
Premium giveaways only
- public int32 actual_winners_selection_date { get; set construct; }
Point in time (Unix timestamp) when the winners were selected. May be
bigger than winners selection date specified in parameters of the giveaway
- public int32 creation_date { get; set construct; }
Point in time (Unix timestamp) when the giveaway was created
- public string gift_code { get; set construct; }
Telegram Premium gift code that was received by the current user;
empty if the user isn't a winner in the giveaway or the giveaway isn't a Telegram Premium giveaway
- public bool is_winner { get; set construct; }
True, if the current user is a winner of the giveaway
- public bool was_refunded { get; set construct; }
True, if the giveaway was canceled and was fully refunded
- public int32 winner_count { get; set construct; }
Number of winners in the giveaway
- public int64 won_star_count { get; set construct; }
The amount of Telegram Stars won by the current user; 0 if the user
isn't a winner in the giveaway or the giveaway isn't a Telegram Star giveaway
Creation methods:
- public GiveawayInfoCompleted (int32 creation_date, int32 actual_winners_selection_date, bool was_refunded, bool is_winner, int32 winner_count, int32 activation_count, string gift_code, int64 won_star_count)
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