MessageGiveawayWinners
Object Hierarchy:
Description:
public class MessageGiveawayWinners :
MessageContent
A giveaway with public winners has been completed for the chat
Content:
Properties:
- 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 additional_chat_count { get; set construct; }
Number of other chats that participated in the giveaway
- public int64 boosted_chat_id { get; set construct; }
Identifier of the supergroup or channel chat, which was automatically
boosted by the winners of the giveaway
- public int64 giveaway_message_id { get; set construct; }
Identifier of the message with the giveaway in the boosted chat
- public bool only_new_members { get; set construct; }
True, if only new members of the chats were eligible for the giveaway
- public GiveawayPrize prize { get; set construct; }
Prize of the giveaway
- public string prize_description { get; set construct; }
Additional description of the giveaway prize
- public int32 unclaimed_prize_count { get; set construct; }
Number of undistributed prizes; for Telegram Premium giveaways only
- public bool was_refunded { get; set construct; }
True, if the giveaway was canceled and was fully refunded
- public int32 winner_count { get; set construct; }
Total number of winners in the giveaway
- public ArrayList<int64?> winner_user_ids { get; set construct; }
Up to 100 user identifiers of the winners of the giveaway
Creation methods:
- public MessageGiveawayWinners (int64 boosted_chat_id, int64 giveaway_message_id, int32 additional_chat_count, int32 actual_winners_selection_date, bool only_new_members, bool was_refunded, GiveawayPrize prize, string prize_description, int32 winner_count, ArrayList<int64?> winner_user_ids, int32 unclaimed_prize_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