tam chat
This commit is contained in:
10
client/frontend/wailsjs/go/main/App.d.ts
vendored
10
client/frontend/wailsjs/go/main/App.d.ts
vendored
@@ -3,6 +3,14 @@
|
||||
|
||||
export function CheckLoginStatus():Promise<boolean>;
|
||||
|
||||
export function ClearChatUnread():Promise<void>;
|
||||
|
||||
export function GetChatConversations():Promise<Array<Record<string, any>>>;
|
||||
|
||||
export function GetChatMessages(arg1:number):Promise<Array<Record<string, any>>>;
|
||||
|
||||
export function GetChatUnread():Promise<number>;
|
||||
|
||||
export function GetStats():Promise<Record<string, any>>;
|
||||
|
||||
export function GetStudentInfo():Promise<Record<string, any>>;
|
||||
@@ -11,4 +19,6 @@ export function Logout():Promise<void>;
|
||||
|
||||
export function NavigateToLogin():Promise<void>;
|
||||
|
||||
export function SendChatMessage(arg1:string):Promise<void>;
|
||||
|
||||
export function SendWebcamFrame(arg1:string):Promise<void>;
|
||||
|
||||
@@ -6,6 +6,22 @@ export function CheckLoginStatus() {
|
||||
return window['go']['main']['App']['CheckLoginStatus']();
|
||||
}
|
||||
|
||||
export function ClearChatUnread() {
|
||||
return window['go']['main']['App']['ClearChatUnread']();
|
||||
}
|
||||
|
||||
export function GetChatConversations() {
|
||||
return window['go']['main']['App']['GetChatConversations']();
|
||||
}
|
||||
|
||||
export function GetChatMessages(arg1) {
|
||||
return window['go']['main']['App']['GetChatMessages'](arg1);
|
||||
}
|
||||
|
||||
export function GetChatUnread() {
|
||||
return window['go']['main']['App']['GetChatUnread']();
|
||||
}
|
||||
|
||||
export function GetStats() {
|
||||
return window['go']['main']['App']['GetStats']();
|
||||
}
|
||||
@@ -22,6 +38,10 @@ export function NavigateToLogin() {
|
||||
return window['go']['main']['App']['NavigateToLogin']();
|
||||
}
|
||||
|
||||
export function SendChatMessage(arg1) {
|
||||
return window['go']['main']['App']['SendChatMessage'](arg1);
|
||||
}
|
||||
|
||||
export function SendWebcamFrame(arg1) {
|
||||
return window['go']['main']['App']['SendWebcamFrame'](arg1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user