MultichannelChatManager
Extends
EventEmitter<{error: [Error];open: [string,string]; }>
Constructors
new MultichannelChatManager()
new MultichannelChatManager(
account,conversation?):MultichannelChatManager
Create a Chat instance to use with an application.
Parameters
account
Dasha account to use. Must be the same as the application's account.
conversation?
Returns
Overrides
EventEmitter<{ error: [error: errors.Error]; open: [endpoint: string, channelid: string]; }>.constructor
Properties
account
protectedaccount:Account
Dasha account to use. Must be the same as the application's account.
Methods
close()
close():
Promise<void>
Returns
Promise<void>
sendFailed()
sendFailed(
channelId):Promise<void>
Parameters
channelId
string
Returns
Promise<void>
sendOpen()
sendOpen(
channelId):Promise<IMultichannelChat>
Parameters
channelId
string
Returns
Promise<IMultichannelChat>
Found a mistake? Let us know.