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

protected account: 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

Found a mistake? Let us know.

Enroll in beta

Request invite to our private Beta program for developers to join the waitlist. No spam, we promise.