copyWith method
SetChatBackground
copyWith({
- int? chatId,
- InputBackground? background,
- BackgroundType? type,
- int? darkThemeDimming,
- bool? onlyForSelf,
Implementation
SetChatBackground copyWith({
int? chatId,
InputBackground? background,
BackgroundType? type,
int? darkThemeDimming,
bool? onlyForSelf,
}) => SetChatBackground(
chatId: chatId ?? this.chatId,
background: background ?? this.background,
type: type ?? this.type,
darkThemeDimming: darkThemeDimming ?? this.darkThemeDimming,
onlyForSelf: onlyForSelf ?? this.onlyForSelf,
);