ChatInviteLink class
Contains a chat invite link.
- Inheritance
- Available Extensions
Constructors
- ChatInviteLink({required String invite_link, required String name, required int creator_user_id, required int date, required int edit_date, required int expiration_date, required int member_limit, required int member_count, required int pending_join_request_count, required bool creates_join_request, required bool is_primary, required bool is_revoked, int? extra, int? clientId})
- Contains a chat invite link
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- creates_join_request ↔ bool
-
True, if the link only creates join request. If true, total number of joining members will be unlimited.
read / write
- creator_user_id ↔ int
-
User identifier of an administrator created the link.
read / write
- date ↔ int
-
Point in time (Unix timestamp) when the link was created.
read / write
- edit_date ↔ int
-
Point in time (Unix timestamp) when the link was last edited; 0 if never or unknown.
read / write
- expiration_date ↔ int
-
Point in time (Unix timestamp) when the link will expire; 0 if never.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- invite_link ↔ String
-
Chat invite link.
read / write
- 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.
read / write
- is_revoked ↔ bool
-
True, if the link was revoked.
read / write
- member_count ↔ int
-
Number of chat members, which joined the chat using the link.
read / write
- member_limit ↔ int
-
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.
read / write
- name ↔ String
-
Name of the link.
read / write
- pending_join_request_count ↔ int
-
Number of pending join requests created using this link.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → ChatInviteLink? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"chatInviteLink"