feat: 全新的客户端协议库!
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user