copyWith method

ToggleForumTopicIsPinned copyWith({
  1. int? chatId,
  2. int? forumTopicId,
  3. bool? isPinned,
})

Implementation

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