Public API's/interfaces

Get user status

///const wishiChat = window.ClientChatPlugin // can see under setup page..
type Status = "quiz" | "quiz-done" | "match" | "styling" | "feedback";
interface UserStatus {
    session_status: Status;
    unread_messages_count: number;
}
wishiSDK.getUserSessionStatus(): Promise<UserStatus>

Last updated