feat(chat): implement pull-to-refresh functionality and pagination for chat history
This commit is contained in:
@@ -33,6 +33,12 @@ export type ChatEvent =
|
||||
output: import("./chat-history-sync").NetworkHistorySyncOutput;
|
||||
}
|
||||
| { type: "ChatHistoryLoadFailed"; error: unknown }
|
||||
| { type: "ChatLoadMoreHistoryRequested" }
|
||||
| {
|
||||
type: "ChatOlderHistoryLoaded";
|
||||
output: import("./machine/actors/history").LoadMoreHistoryOutput;
|
||||
}
|
||||
| { type: "ChatOlderHistoryLoadFailed"; error: unknown }
|
||||
// 业务事件
|
||||
| { type: "ChatSendMessage"; content: string }
|
||||
| { type: "ChatSendImage"; imageBase64: string }
|
||||
|
||||
Reference in New Issue
Block a user