copyWith method

GetForumTopicHistory copyWith({
  1. int? chatId,
  2. int? forumTopicId,
  3. int? fromMessageId,
  4. int? offset,
  5. int? limit,
})

Implementation

GetForumTopicHistory copyWith({
  int? chatId,
  int? forumTopicId,
  int? fromMessageId,
  int? offset,
  int? limit,
}) =>
    GetForumTopicHistory(
      chatId: chatId ?? this.chatId,
      forumTopicId: forumTopicId ?? this.forumTopicId,
      fromMessageId: fromMessageId ?? this.fromMessageId,
      offset: offset ?? this.offset,
      limit: limit ?? this.limit,
    );