copyWith method

  1. @override
ChatEventForumTopicPinned copyWith({
  1. ForumTopicInfo? oldTopicInfo,
  2. ForumTopicInfo? newTopicInfo,
})
override

Implementation

@override
ChatEventForumTopicPinned copyWith({
  ForumTopicInfo? oldTopicInfo,
  ForumTopicInfo? newTopicInfo,
}) =>
    ChatEventForumTopicPinned(
      oldTopicInfo: oldTopicInfo ?? this.oldTopicInfo,
      newTopicInfo: newTopicInfo ?? this.newTopicInfo,
    );