ChatInviteLink class
Represents an invite link for a chat.
Constructors
Properties
- createsJoinRequest ↔ bool
-
True, if users joining the chat via the link need to be approved by chat
administrators
getter/setter pair
- creator ↔ User
-
Creator of the link
getter/setter pair
- expireDate ↔ int?
-
Optional.
Point in time (Unix timestamp) when the link will expire or has been
expired
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- inviteLink ↔ String
-
The invite link.
If the link was created by another chat administrator, then the second
part of the link will be replaced with “…”.
getter/setter pair
- isPrimary ↔ bool
-
True, if the link is primary
getter/setter pair
- isRevoked ↔ bool
-
True, if the link is revoked
getter/setter pair
- memberLimit ↔ int?
-
Optional.
The maximum number of users that can be members of the chat simultaneously
after joining the chat via this invite link; 1-99999
getter/setter pair
- name ↔ String?
-
Optional.
Invite link name
getter/setter pair
- pendingJoinRequestCount ↔ int?
-
Optional.
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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map - Creates a json from the object
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → ChatInviteLink - Creates a object from a json