copyWith method

UpdateChatHasProtectedContent copyWith({
  1. int? chatId,
  2. bool? hasProtectedContent,
})

Implementation

UpdateChatHasProtectedContent copyWith({
  int? chatId,
  bool? hasProtectedContent,
}) => UpdateChatHasProtectedContent(
  chatId: chatId ?? this.chatId,
  hasProtectedContent: hasProtectedContent ?? this.hasProtectedContent,
);