ChatInviteLinkInfo class

Contains information about a chat invite link.

Inheritance
Available Extensions

Constructors

ChatInviteLinkInfo({required int chat_id, required int accessible_for, required InviteLinkChatType type, required String title, ChatPhotoInfo? photo, required String description, required int member_count, required List<int> member_user_ids, required bool creates_join_request, required bool is_public, required bool is_verified, required bool is_scam, required bool is_fake, int? extra, int? clientId})
Contains information about a chat invite link

Properties

accessible_for ↔ int
If non-zero, the amount of time for which read access to the chat will remain available, in seconds.
read / write
chat_id ↔ int
Chat identifier of the invite link; 0 if the user has no access to the chat before joining.
read / write
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.
read / write
description ↔ String
Chat description.
read / write
extra ↔ int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode → int
The hash code for this object.
read-onlyinherited
is_fake ↔ bool
True, if many users reported this chat as a fake account.
read / write
is_public ↔ bool
True, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup.
read / write
is_scam ↔ bool
True, if many users reported this chat as a scam.
read / write
is_verified ↔ bool
True, if the chat is verified.
read / write
member_count ↔ int
Number of members in the chat.
read / write
member_user_ids ↔ List<int>
User identifiers of some chat members that may be known to the current user.
read / write
photo ↔ ChatPhotoInfo?
Chat photo; may be null.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
title ↔ String
Title of the chat.
read / write
type ↔ InviteLinkChatType
Type of the chat.
read / write

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) → ChatInviteLinkInfo?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"chatInviteLinkInfo"