copyWith method

EditForumTopic copyWith({
  1. int? chatId,
  2. int? forumTopicId,
  3. String? name,
  4. bool? editIconCustomEmoji,
  5. int? iconCustomEmojiId,
})

Implementation

EditForumTopic copyWith({
  int? chatId,
  int? forumTopicId,
  String? name,
  bool? editIconCustomEmoji,
  int? iconCustomEmojiId,
}) => EditForumTopic(
  chatId: chatId ?? this.chatId,
  forumTopicId: forumTopicId ?? this.forumTopicId,
  name: name ?? this.name,
  editIconCustomEmoji: editIconCustomEmoji ?? this.editIconCustomEmoji,
  iconCustomEmojiId: iconCustomEmojiId ?? this.iconCustomEmojiId,
);