Function: createChat()

Call Signature

createChat(account?): Promise<Chat>

Create a Chat instance to use with an application.

Parameters

account?

Dasha account to use. Must be the same as the application's account. If not set, uses the getCurrentAccountName | current account.

Returns

Promise<Chat>

Deprecated

Call Signature

createChat(conversation, options?): Promise<Chat>

Create a Chat instance to use with a conversation.

Parameters

conversation

a conversation to connect to

options?

account

Dasha account to use. Must be the same as the application's account. If not set, uses the getCurrentAccountName | current account.

Returns

Promise<Chat>

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.