前后端一些接口的重命名

This commit is contained in:
CrescentLeaf
2025-12-28 00:18:25 +08:00
parent ef84cc30c0
commit aa8a205e5f
5 changed files with 24 additions and 77 deletions

View File

@@ -15,9 +15,9 @@ export type CallMethod =
"User.getInfo" |
// 收藏对话列表
"User.getMyContacts" |
"User.addContacts" |
"User.removeContacts" |
"User.getMyFavouriteChats" |
"User.addFavouriteChats" |
"User.removeFavouriteChats" |
// 最近对话列表
"User.getMyRecentChats" |
@@ -36,7 +36,7 @@ export type CallMethod =
// 对话创建
"Chat.createGroup" |
"Chat.getIdForPrivate" |
"Chat.getOrCreatePrivateChat" |
// 入群请求
"Chat.processJoinRequest" |
@@ -51,9 +51,6 @@ export type CallMethod =
"Chat.sendMessage" |
"Chat.getMessageHistory"
// (废弃) 文件上传
// "Chat.uploadFile"
export type ClientEvent =
// 对话收消息
"Client.onMessage"