copyWith method
ChatBoostLevelFeatures
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? canEnableAutomaticTranslation,
- bool? canRecognizeSpeech,
- bool? canDisableSponsoredMessages,
Implementation
ChatBoostLevelFeatures 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? canEnableAutomaticTranslation,
bool? canRecognizeSpeech,
bool? canDisableSponsoredMessages,
}) => ChatBoostLevelFeatures(
level: level ?? this.level,
storyPerDayCount: storyPerDayCount ?? this.storyPerDayCount,
customEmojiReactionCount:
customEmojiReactionCount ?? this.customEmojiReactionCount,
titleColorCount: titleColorCount ?? this.titleColorCount,
profileAccentColorCount:
profileAccentColorCount ?? this.profileAccentColorCount,
canSetProfileBackgroundCustomEmoji:
canSetProfileBackgroundCustomEmoji ??
this.canSetProfileBackgroundCustomEmoji,
accentColorCount: accentColorCount ?? this.accentColorCount,
canSetBackgroundCustomEmoji:
canSetBackgroundCustomEmoji ?? this.canSetBackgroundCustomEmoji,
canSetEmojiStatus: canSetEmojiStatus ?? this.canSetEmojiStatus,
chatThemeBackgroundCount:
chatThemeBackgroundCount ?? this.chatThemeBackgroundCount,
canSetCustomBackground:
canSetCustomBackground ?? this.canSetCustomBackground,
canSetCustomEmojiStickerSet:
canSetCustomEmojiStickerSet ?? this.canSetCustomEmojiStickerSet,
canEnableAutomaticTranslation:
canEnableAutomaticTranslation ?? this.canEnableAutomaticTranslation,
canRecognizeSpeech: canRecognizeSpeech ?? this.canRecognizeSpeech,
canDisableSponsoredMessages:
canDisableSponsoredMessages ?? this.canDisableSponsoredMessages,
);