chore: declare User.getMyRecentChats
This commit is contained in:
@@ -13,17 +13,19 @@ export type CallMethod =
|
|||||||
"User.addContact" |
|
"User.addContact" |
|
||||||
"User.removeContacts" |
|
"User.removeContacts" |
|
||||||
|
|
||||||
|
"User.getMyRecentChats" |
|
||||||
|
|
||||||
"Chat.getInfo" |
|
"Chat.getInfo" |
|
||||||
"Chat.sendMessage" |
|
"Chat.sendMessage" |
|
||||||
"Chat.getMessageHistory" |
|
"Chat.getMessageHistory" |
|
||||||
|
|
||||||
"Chat.uploadFile"
|
"Chat.uploadFile"
|
||||||
|
|
||||||
|
export type ClientEvent =
|
||||||
|
"Client.onMessage"
|
||||||
|
|
||||||
export const CallableMethodBeforeAuth = [
|
export const CallableMethodBeforeAuth = [
|
||||||
"User.auth",
|
"User.auth",
|
||||||
"User.register",
|
"User.register",
|
||||||
"User.login",
|
"User.login",
|
||||||
]
|
]
|
||||||
|
|
||||||
export type ClientEvent =
|
|
||||||
"Client.onMessage"
|
|
||||||
@@ -13,6 +13,8 @@ export type CallMethod =
|
|||||||
"User.addContact" |
|
"User.addContact" |
|
||||||
"User.removeContacts" |
|
"User.removeContacts" |
|
||||||
|
|
||||||
|
"User.getMyRecentChats" |
|
||||||
|
|
||||||
"Chat.getInfo" |
|
"Chat.getInfo" |
|
||||||
"Chat.sendMessage" |
|
"Chat.sendMessage" |
|
||||||
"Chat.getMessageHistory" |
|
"Chat.getMessageHistory" |
|
||||||
|
|||||||
Reference in New Issue
Block a user