feat(wip): Chat.getInfo
This commit is contained in:
@@ -8,6 +8,7 @@ export type CallMethod =
|
||||
"User.setAvatar" |
|
||||
"User.getMyInfo" |
|
||||
|
||||
"Chat.getInfo" |
|
||||
"Chat.sendMessage" |
|
||||
"Chat.getMessageHistory"
|
||||
|
||||
|
||||
@@ -6,6 +6,13 @@ export default class UserApi extends BaseApi {
|
||||
return "Chat"
|
||||
}
|
||||
override onInit(): void {
|
||||
this.registerEvent("Chat.getInfo", (args) => {
|
||||
|
||||
return {
|
||||
code: 501,
|
||||
msg: "未實現",
|
||||
}
|
||||
})
|
||||
this.registerEvent("Chat.sendMessage", (args) => {
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user