feat(wip): 新的客户端协议库
This commit is contained in:
14
client-protocol/bean/ChatBean.ts
Normal file
14
client-protocol/bean/ChatBean.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import ChatType from "./ChatType.ts"
|
||||
|
||||
export default class ChatBean {
|
||||
declare type: ChatType
|
||||
declare id: string
|
||||
declare title: string
|
||||
declare avatar_file_hash?: string
|
||||
declare settings?: { [key: string]: unknown }
|
||||
|
||||
declare is_member: boolean
|
||||
declare is_admin: boolean
|
||||
|
||||
[key: string]: unknown
|
||||
}
|
||||
Reference in New Issue
Block a user