35 lines
608 B
TypeScript
35 lines
608 B
TypeScript
export type CallMethod =
|
|
"User.auth" |
|
|
"User.register" |
|
|
"User.login" |
|
|
"User.refreshAccessToken" |
|
|
|
|
"User.setAvatar" |
|
|
"User.updateProfile" |
|
|
"User.getMyInfo" |
|
|
|
|
"User.getInfo" |
|
|
|
|
"User.getMyContacts" |
|
|
"User.addContact" |
|
|
"User.removeContacts" |
|
|
|
|
"User.getMyRecentChats" |
|
|
|
|
"Chat.getInfo" |
|
|
|
|
"Chat.updateSettings" |
|
|
|
|
"Chat.createGroup" |
|
|
|
|
"Chat.getIdForPrivate" |
|
|
"Chat.getAnotherUserIdFromPrivate" |
|
|
|
|
"Chat.sendMessage" |
|
|
"Chat.getMessageHistory" |
|
|
|
|
"Chat.uploadFile"
|
|
|
|
export type ClientEvent =
|
|
"Client.onMessage"
|