copyWith method

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

Implementation

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