The entry point of the JavaScript SDK. Construct it once and use its namespaces: Leads, Listings, Agents, and Testimonials.
const sdk = new Rechat.Sdk() Copy
const sdk = new Rechat.Sdk()
See the JavaScript SDK guide for an overview, and Installation for loading the SDK on your page.
Creates and initializes the SDK.
The ISdkSettings
Provides access to all Agents methods.
The Agents
Provides access to all Leads methods.
The LeadCapture
Provides access to all Listings methods.
The Listings
Resolves when portal discovery has completed. Rejects if no portal is registered for the current hostname.
Provides access to the settings.
Provides access to all Testimonials methods.
The Testimonials
The entry point of the JavaScript SDK. Construct it once and use its namespaces: Leads, Listings, Agents, and Testimonials.
See the JavaScript SDK guide for an overview, and Installation for loading the SDK on your page.