ChatInviteLink class

Inheritance

Constructors

Contains a chat invite link
const
ChatInviteLink.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

clientId int?
clientId client identifier
final
createsJoinRequest bool
createsJoinRequest True, if the link only creates join request. If true, total number of joining members will be unlimited
final
creatorUserId int
creatorUserId User identifier of an administrator created the link
final
date int
date Point in time (Unix timestamp) when the link was created
final
editDate int
editDate Point in time (Unix timestamp) when the link was last edited; 0 if never or unknown
final
expirationDate int
expirationDate Point in time (Unix timestamp) when the link will expire; 0 if never
final
extra → dynamic
extra callback sign
final
hashCode int
The hash code for this object.
no setterinherited
inviteLink Chat invite link
final
isPrimary bool
isPrimary 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
final
isRevoked bool
isRevoked True, if the link was revoked
final
memberCount int
memberCount Number of chat members, which joined the chat using the link
final
memberLimit int
memberLimit 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
final
name String
name Name of the link
final
pendingJoinRequestCount int
pendingJoinRequestCount Number of pending join requests created using this link
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? inviteLink, String? name, int? creatorUserId, int? date, int? editDate, int? expirationDate, int? memberLimit, int? memberCount, int? pendingJoinRequestCount, bool? createsJoinRequest, bool? isPrimary, bool? isRevoked, dynamic extra, int? clientId}) ChatInviteLink
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String