copyWith method

UpdateChatBackground copyWith({
  1. int? chatId,
  2. ChatBackground? background,
})

Implementation

UpdateChatBackground copyWith({
  int? chatId,
  ChatBackground? background,
}) =>
    UpdateChatBackground(
      chatId: chatId ?? this.chatId,
      background: background ?? this.background,
    );