ChatBoostFeatures class final

Contains a list of features available on the first chat boost levels

Inheritance

Constructors

ChatBoostFeatures({required List<ChatBoostLevelFeatures> features, required int minProfileBackgroundCustomEmojiBoostLevel, required int minBackgroundCustomEmojiBoostLevel, required int minEmojiStatusBoostLevel, required int minChatThemeBackgroundBoostLevel, required int minCustomBackgroundBoostLevel, required int minCustomEmojiStickerSetBoostLevel, required int minSpeechRecognitionBoostLevel, dynamic extra, int? clientId})
Contains a list of features available on the first chat boost levels
const
ChatBoostFeatures.fromJson(Map<String, dynamic> json)
Parses a ChatBoostFeatures from TDLib JSON.
factory

Properties

clientId → int?
Identifier of the TDLib client that sent this object.
final
extra → dynamic
"@extra" of the request this object answers.
final
features → List<ChatBoostLevelFeatures>
The list of features
final
hashCode → int
The hash code for this object.
no setterinherited
minBackgroundCustomEmojiBoostLevel → int
The minimum boost level required to set custom emoji for reply header and link preview background; for channel chats only
final
minChatThemeBackgroundBoostLevel → int
The minimum boost level required to set a chat theme background as chat background
final
minCustomBackgroundBoostLevel → int
The minimum boost level required to set custom chat background
final
minCustomEmojiStickerSetBoostLevel → int
The minimum boost level required to set custom emoji sticker set for the chat; for supergroup chats only
final
minEmojiStatusBoostLevel → int
The minimum boost level required to set emoji status
final
minProfileBackgroundCustomEmojiBoostLevel → int
The minimum boost level required to set custom emoji for profile background
final
minSpeechRecognitionBoostLevel → int
The minimum boost level allowing to recognize speech in video note and voice note messages for non-Premium users; for supergroup chats only
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({List<ChatBoostLevelFeatures>? features, int? minProfileBackgroundCustomEmojiBoostLevel, int? minBackgroundCustomEmojiBoostLevel, int? minEmojiStatusBoostLevel, int? minChatThemeBackgroundBoostLevel, int? minCustomBackgroundBoostLevel, int? minCustomEmojiStickerSetBoostLevel, int? minSpeechRecognitionBoostLevel, dynamic extra, int? clientId}) → ChatBoostFeatures
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.