ChatInviteLink class

Contains a chat invite link

Inheritance

Constructors

ChatInviteLink({String? extra, int? client_id, string? invite_link, string? name, int53? creator_user_id, int32? date, int32? edit_date, int32? expiration_date, int32? member_limit, int32? member_count, int32? pending_join_request_count, Bool? creates_join_request, Bool? is_primary, Bool? is_revoked})
ChatInviteLink.fromMap(Map<String, dynamic> map)

Properties

client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
creates_join_request Bool?
True, if the link only creates join request. If true, total number of joining members will be unlimited
getter/setter pair
creator_user_id int53?
User identifier of an administrator created the link
getter/setter pair
date int32?
Point in time (Unix timestamp) when the link was created
getter/setter pair
edit_date int32?
Point in time (Unix timestamp) when the link was last edited; 0 if never or unknown
getter/setter pair
expiration_date int32?
Point in time (Unix timestamp) when the link will expire; 0 if never
getter/setter pair
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
Chat invite link
getter/setter pair
is_primary Bool?
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
getter/setter pair
is_revoked Bool?
True, if the link was revoked
getter/setter pair
member_count int32?
Number of chat members, which joined the chat using the link
getter/setter pair
member_limit int32?
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
getter/setter pair
name string?
Name of the link
getter/setter pair
pending_join_request_count int32?
Number of pending join requests created using this link
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tdType String
JSON object type; maps to the field @type.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited