ChatInviteLink
Object Hierarchy:
Description:
public class ChatInviteLink :
Error
Contains a chat invite link
Content:
Properties:
- public bool creates_join_request { get; set construct; }
True, if the link only creates join request. If true, total number of
joining members will be unlimited
- public int64 creator_user_id { get; set construct; }
User identifier of an administrator created the link
- public int32 date { get; set construct; }
Point in time (Unix timestamp) when the link was created
- public int32 edit_date { get; set construct; }
Point in time (Unix timestamp) when the link was last edited; 0 if
never or unknown
- public int32 expiration_date { get; set construct; }
Point in time (Unix timestamp) when the link will expire; 0 if never
- public int32 expired_member_count { get; set construct; }
Number of chat members, which joined the chat using the link, but have
already left because of expired subscription; for subscription links only
- public string invite_link { get; set construct; }
Chat invite link
- public bool is_primary { get; set construct; }
True, if the link is primary. Primary invite link can't have name,
expiration date, or usage limit. There is exactly one primary invite link for each administrator with can_invite_users right at a
given time
- public bool is_revoked { get; set construct; }
True, if the link was revoked
- public int32 member_count { get; set construct; }
Number of chat members, which joined the chat using the link
- public int32 member_limit { get; set construct; }
The maximum number of members, which can join the chat using the link
simultaneously; 0 if not limited. Always 0 if the link requires approval
- public string name { get; set construct; }
Name of the link
- public int32 pending_join_request_count { get; set construct; }
Number of pending join requests created using this link
- public StarSubscriptionPricing? subscription_pricing { get; set construct; }
Information about subscription plan that is applied to the users
joining the chat by the link; may be null if the link doesn't require subscription
Creation methods:
- public ChatInviteLink (string invite_link, string name, int64 creator_user_id, int32 date, int32 edit_date, int32 expiration_date, StarSubscriptionPricing? subscription_pricing, int32 member_limit, int32 member_count, int32 expired_member_count, int32 pending_join_request_count, bool creates_join_request, bool is_primary, bool is_revoked)
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