ConversationManager class

Constructors

ConversationManager()

Methods

createOrJoin(PropertyCollection, string, any, any)

Make a POST request to the Conversation Manager service endpoint to create or join a conversation.

leave(PropertyCollection, string)

Make a DELETE request to the Conversation Manager service endpoint to leave the conversation.

Constructor Details

ConversationManager()

new ConversationManager()

Method Details

createOrJoin(PropertyCollection, string, any, any)

Make a POST request to the Conversation Manager service endpoint to create or join a conversation.

function createOrJoin(args: PropertyCollection, conversationCode: string, cb?: any, err?: any)

Parameters

conversationCode

string

cb

any

err

any

leave(PropertyCollection, string)

Make a DELETE request to the Conversation Manager service endpoint to leave the conversation.

function leave(args: PropertyCollection, sessionToken: string)

Parameters

sessionToken

string

Returns

Promise<void>