copyWith method

SetChatBackground copyWith({
  1. int? chatId,
  2. InputBackground? background,
  3. BackgroundType? type,
  4. int? darkThemeDimming,
})

Implementation

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