copyWith method
Implementation
UpdateChatAccentColors copyWith({
int? chatId,
int? accentColorId,
int? backgroundCustomEmojiId,
UpgradedGiftColors? upgradedGiftColors,
int? profileAccentColorId,
int? profileBackgroundCustomEmojiId,
}) => UpdateChatAccentColors(
chatId: chatId ?? this.chatId,
accentColorId: accentColorId ?? this.accentColorId,
backgroundCustomEmojiId:
backgroundCustomEmojiId ?? this.backgroundCustomEmojiId,
upgradedGiftColors: upgradedGiftColors ?? this.upgradedGiftColors,
profileAccentColorId: profileAccentColorId ?? this.profileAccentColorId,
profileBackgroundCustomEmojiId:
profileBackgroundCustomEmojiId ?? this.profileBackgroundCustomEmojiId,
);