copyWith method

GetForumTopics copyWith({
  1. int? chatId,
  2. String? query,
  3. int? offsetDate,
  4. int? offsetMessageId,
  5. int? offsetMessageThreadId,
  6. int? limit,
})

Implementation

GetForumTopics copyWith({
  int? chatId,
  String? query,
  int? offsetDate,
  int? offsetMessageId,
  int? offsetMessageThreadId,
  int? limit,
}) =>
    GetForumTopics(
      chatId: chatId ?? this.chatId,
      query: query ?? this.query,
      offsetDate: offsetDate ?? this.offsetDate,
      offsetMessageId: offsetMessageId ?? this.offsetMessageId,
      offsetMessageThreadId:
          offsetMessageThreadId ?? this.offsetMessageThreadId,
      limit: limit ?? this.limit,
    );