copyWith method

GetChatSparseMessagePositions copyWith({
  1. int? chatId,
  2. SearchMessagesFilter? filter,
  3. int? fromMessageId,
  4. int? limit,
})

Implementation

GetChatSparseMessagePositions copyWith({
  int? chatId,
  SearchMessagesFilter? filter,
  int? fromMessageId,
  int? limit,
}) => GetChatSparseMessagePositions(
  chatId: chatId ?? this.chatId,
  filter: filter ?? this.filter,
  fromMessageId: fromMessageId ?? this.fromMessageId,
  limit: limit ?? this.limit,
);