ChatBoostLevelFeatures class final

Contains a list of features available on a specific chat boost level

Inheritance

Constructors

ChatBoostLevelFeatures({required int level, required int storyPerDayCount, required int customEmojiReactionCount, required int titleColorCount, required int profileAccentColorCount, required bool canSetProfileBackgroundCustomEmoji, required int accentColorCount, required bool canSetBackgroundCustomEmoji, required bool canSetEmojiStatus, required int chatThemeBackgroundCount, required bool canSetCustomBackground, required bool canSetCustomEmojiStickerSet, required bool canRecognizeSpeech, dynamic extra, int? clientId})
Contains a list of features available on a specific chat boost level
const
ChatBoostLevelFeatures.fromJson(Map<String, dynamic> json)
Parses a ChatBoostLevelFeatures from TDLib JSON.
factory

Properties

accentColorCount → int
Number of custom colors for background of empty chat photo, replies to messages and link previews
final
canRecognizeSpeech → bool
True, if speech recognition can be used for video note and voice note messages by all users
final
canSetBackgroundCustomEmoji → bool
True, if custom emoji for reply header and link preview background can be set
final
canSetCustomBackground → bool
True, if custom background can be set in the chat for all users
final
canSetCustomEmojiStickerSet → bool
True, if custom emoji sticker set can be set for the chat
final
canSetEmojiStatus → bool
True, if emoji status can be set
final
canSetProfileBackgroundCustomEmoji → bool
True, if custom emoji for profile background can be set
final
chatThemeBackgroundCount → int
Number of chat theme backgrounds that can be set as chat background
final
clientId → int?
Identifier of the TDLib client that sent this object.
final
customEmojiReactionCount → int
Number of custom emoji reactions that can be added to the list of available reactions
final
extra → dynamic
"@extra" of the request this object answers.
final
hashCode → int
The hash code for this object.
no setterinherited
level → int
Target chat boost level
final
profileAccentColorCount → int
Number of custom colors for profile photo background
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storyPerDayCount → int
Number of stories that the chat can publish daily
final
titleColorCount → int
Number of custom colors for chat title
final

Methods

copyWith({int? level, int? storyPerDayCount, int? customEmojiReactionCount, int? titleColorCount, int? profileAccentColorCount, bool? canSetProfileBackgroundCustomEmoji, int? accentColorCount, bool? canSetBackgroundCustomEmoji, bool? canSetEmojiStatus, int? chatThemeBackgroundCount, bool? canSetCustomBackground, bool? canSetCustomEmojiStickerSet, bool? canRecognizeSpeech, dynamic extra, int? clientId}) → ChatBoostLevelFeatures
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.