feat: 加入对话请求
This commit is contained in:
@@ -17,7 +17,7 @@ export type CallMethod =
|
||||
"User.getMyRecentChats" |
|
||||
|
||||
"Chat.getInfo" |
|
||||
|
||||
|
||||
"Chat.updateSettings" |
|
||||
|
||||
"Chat.createGroup" |
|
||||
@@ -25,6 +25,10 @@ export type CallMethod =
|
||||
"Chat.getIdForPrivate" |
|
||||
"Chat.getAnotherUserIdFromPrivate" |
|
||||
|
||||
"Chat.processJoinRequest" |
|
||||
"Chat.sendJoinRequest" |
|
||||
"Chat.getJoinRequests" |
|
||||
|
||||
"Chat.sendMessage" |
|
||||
"Chat.getMessageHistory" |
|
||||
|
||||
|
||||
8
client/api/client_data/JoinRequest.ts
Normal file
8
client/api/client_data/JoinRequest.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export default class JoinRequest {
|
||||
declare user_id: string
|
||||
declare title: string
|
||||
declare avatar?: string
|
||||
declare reason?: string
|
||||
|
||||
[key: string]: unknown
|
||||
}
|
||||
Reference in New Issue
Block a user