copyWith method
Implementation
GetChatHistory copyWith({
int? chatId,
int? fromMessageId,
int? offset,
int? limit,
bool? onlyLocal,
}) => GetChatHistory(
chatId: chatId ?? this.chatId,
fromMessageId: fromMessageId ?? this.fromMessageId,
offset: offset ?? this.offset,
limit: limit ?? this.limit,
onlyLocal: onlyLocal ?? this.onlyLocal,
);