feat: 加入对话请求

This commit is contained in:
CrescentLeaf
2025-10-19 18:23:46 +08:00
parent af55143292
commit ba71d66db8
8 changed files with 500 additions and 147 deletions

View File

@@ -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" |

View 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
}