UNPKG

@voice-ping/cognitive-services-speech

Version:

VoicePing Cognitive Services Speech SDK for JavaScript forked from Microsoft

25 lines (24 loc) 843 B
import { PropertyCollection } from "../../sdk/Exports"; export declare class ConversationManager { private privRequestParams; private privErrors; private privHost; private privApiVersion; private privRestPath; constructor(); /** * Make a POST request to the Conversation Manager service endpoint to create or join a conversation. * @param args * @param conversationCode * @param callback * @param errorCallback */ createOrJoin(args: PropertyCollection, conversationCode: string, cb?: any, err?: any): void; /** * Make a DELETE request to the Conversation Manager service endpoint to leave the conversation. * @param args * @param sessionToken * @param callback */ leave(args: PropertyCollection, sessionToken: string, cb?: any, err?: any): void; }