Class

Manager

Manager

Flex WebChat manager

Members

twilio-chat:Client

# readonly chatClient

Instance of Twilio Chat Client.
See:
Config

# readonly configuration

Current configuration
Store.<FlexState>

# readonly store

Instance of Flex WebChat Redux store
See:
Strings

# strings

Get or set strings / templates for Flex WebChat. Add or updates existing ones.

Methods

# static create(userConfiguration, storeopt)

Creates an instance of Flex Manager
Parameters:
Name Type Attributes Description
userConfiguration Config configuration
store Store.<FlexState> <optional>
custom Redux store
new instance of manager

# updateConfig(…configs)

Updates current configuration by merging provided configuration objects deeply with the current configuration.
Parameters:
Name Type Attributes Description
configs Array.<Config> <repeatable>
configuration objects to merge in