CommunityFullInfo class final

Contains full information about a community

Inheritance

Constructors

CommunityFullInfo({required ChatPhoto photo, required List<CommunityChat> chats, required int administratorCount, required int bannedCount, required int addChatRequestCount, required ChatNotificationSettings notificationSettings, dynamic extra, int? clientId})
Contains full information about a community
const
CommunityFullInfo.fromJson(Map<String, dynamic> json)
Parses a CommunityFullInfo from TDLib JSON.
factory

Properties

addChatRequestCount → int
Number of pending requests for addition of chats to the community; 0 if the current user isn't an administrator of the community
final
administratorCount → int
Number of privileged users in the community; 0 if the current user isn't an administrator of the community
final
bannedCount → int
Number of users banned from the community; 0 if the current user isn't an administrator of the community
final
chats → List<CommunityChat>
Chats belonging to the community
final
clientId → int?
Identifier of the TDLib client that sent this object.
final
extra → dynamic
"@extra" of the request this object answers.
final
hashCode → int
The hash code for this object.
no setterinherited
notificationSettings → ChatNotificationSettings
Notification settings for the community. Default notification settings are chosen based on the type of a chat in the community
final
photo → ChatPhoto
Photo of the community
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({ChatPhoto? photo, List<CommunityChat>? chats, int? administratorCount, int? bannedCount, int? addChatRequestCount, ChatNotificationSettings? notificationSettings, dynamic extra, int? clientId}) → CommunityFullInfo
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
getConstructor() → String
TDLib type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
TDLib type name.