copyWith method

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

Implementation

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