feat(chat): handle daily message paywall

This commit is contained in:
2026-06-22 10:46:17 +08:00
parent df7f673855
commit 61fd4ca916
10 changed files with 162 additions and 44 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
export type ChatEvent =
// 鉴权生命周期(登录态变化后由 ChatAuthSync 派)
| { type: "ChatGuestLogin" }
| { type: "ChatNonGuestLogin"; token: string }
| { type: "ChatNonGuestLogin"; token: string; isVip: boolean }
| { type: "ChatLogout" }
// 业务事件
| { type: "ChatSendMessage"; content: string }