feat: 全新的客户端协议库!

This commit is contained in:
CrescentLeaf
2025-11-09 01:00:01 +08:00
parent 3e5fc722e6
commit f0ca0fbbd4
9 changed files with 378 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
import BaseChatSettingsBean from "./BaseChatSettingsBean.ts"
import ChatType from "./ChatType.ts"
import ChatType from "../type/ChatType.ts"
export default class ChatBean {
declare type: ChatType

View File

@@ -1,7 +1,7 @@
export default class JoinRequestBean {
declare user_id: string
declare title: string
declare avatar?: string
declare nickname: string
declare avatar_file_hash?: string
declare reason?: string
[key: string]: unknown

View File

@@ -1,6 +1,7 @@
export default class MessageBean {
declare id: number
declare text: string
declare user_id: string
declare user_id?: string
declare chat_id?: string
declare time: string
}