copyWith method

ToggleForumTopicIsClosed copyWith({
  1. int? chatId,
  2. int? forumTopicId,
  3. bool? isClosed,
})

Implementation

ToggleForumTopicIsClosed copyWith({
  int? chatId,
  int? forumTopicId,
  bool? isClosed,
}) =>
    ToggleForumTopicIsClosed(
      chatId: chatId ?? this.chatId,
      forumTopicId: forumTopicId ?? this.forumTopicId,
      isClosed: isClosed ?? this.isClosed,
    );