copyWith method
Implementation
GetForumTopics copyWith({
int? chatId,
String? query,
int? iconCustomEmojiId,
bool? excludeOpen,
bool? excludeClosed,
int? offsetDate,
int? offsetMessageId,
int? offsetForumTopicId,
int? limit,
}) =>
GetForumTopics(
chatId: chatId ?? this.chatId,
query: query ?? this.query,
iconCustomEmojiId: iconCustomEmojiId ?? this.iconCustomEmojiId,
excludeOpen: excludeOpen ?? this.excludeOpen,
excludeClosed: excludeClosed ?? this.excludeClosed,
offsetDate: offsetDate ?? this.offsetDate,
offsetMessageId: offsetMessageId ?? this.offsetMessageId,
offsetForumTopicId: offsetForumTopicId ?? this.offsetForumTopicId,
limit: limit ?? this.limit,
);