copyWith method

ToggleGeneralForumTopicIsHidden copyWith({
  1. int? chatId,
  2. bool? isHidden,
})

Implementation

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