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.