AppInfo class

Represents information obtained from the application settings. The values for this will be set after a connection has been made.

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

AppInfo.new({required List<String> premiumFeatureList, required int uploadSizeLimit, required List<String> attributesInUse, required String emojiHash, required bool useReaction, NotificationInfo? notificationInfo, bool allowSdkStatsUpload = true, bool disableSuperGroupMack = false, int unreadCntThreadingPolicy = 0, int lastMsgThreadingPolicy = 0})
AppInfo.fromJson(Map<String, dynamic> json)
factory

Properties

allowSdkStatsUpload bool
final
attributesInUse List<String>
List of all attributes that the application is using.
final
disableSuperGroupMack bool
final
emojiHash String
The current registered emoji version hash.
final
hashCode int
The hash code for this object.
no setterinherited
lastMsgThreadingPolicy int
The last message policy for message threading. 0(NONE), 1(INCLUDE_REPLY), 2(EXCLUDE_REPLY), 3(INCLUDE_REPLY_TO_CHANNEL) @since 4.2.27
final
notificationInfo → NotificationInfo?
Notification info. @since 4.0.3
final
premiumFeatureList List<String>
List of all premium features that application is using.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uikitConfigInfo ↔ UIKitConfigInfo?
@since 4.4.0
getter/setter pair
unreadCntThreadingPolicy int
The unread message count policy for message threading. 0(NONE), 1(INCLUDE_REPLY), 2(EXCLUDE_REPLY), 3(INCLUDE_REPLY_TO_CHANNEL) @since 4.2.27
final
uploadSizeLimit int
The maximum limit of file size for uploading. (MB)
final
useReaction bool
Whether an application is using the reaction feature.
final

Methods

needUpdateEmoji(String prevEmojiHash) bool
Checks whether the emoji list needs to be updated.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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