Wishi partner widget/SDK documentation
  • The Formal Stuff
    • Introduction
    • iOS SDK
      • Setup
        • View controller setup example
      • Public protocols
      • Public API's
      • Data structures/types
    • Web SDK
      • Setup
      • Initialization
      • Data structures
      • Public API's/interfaces
      • Events subscription
      • Telemetry
    • Pixel
      • Set up the base code
      • Set up events
      • Tracking parameters
    • Client-side authentication
    • FAQ
Powered by GitBook
On this page

Was this helpful?

  1. The Formal Stuff
  2. Web SDK

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>
PreviousData structuresNextEvents subscription

Last updated 1 year ago

Was this helpful?