|
|
@@ -38,7 +38,7 @@ class ChatRepository {
|
|
|
}).then((stream) => SSEParseUtil.parse(stream));
|
|
|
}
|
|
|
|
|
|
- Future<List<ChatItem>> chatHistory(int? lastId) {
|
|
|
+ Future<List<ChatItem>> chatHistory(String? lastId) {
|
|
|
return atmobApi
|
|
|
.chatHistory(ChatHistoryRequest(1, 20, lastId))
|
|
|
.then(HttpHandler.handle(true))
|