microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
25 lines (24 loc) • 604 B
TypeScript
/**
* Represents the JSON used in the agent.config message sent to the speech service.
*/
export declare class AgentConfig {
private iPrivConfig;
toJsonString(): string;
get(): IAgentConfig;
/**
* Setter for the agent.config object.
* @param value a JSON serializable object.
*/
set(value: IAgentConfig): void;
}
export interface IAgentConfig {
botInfo: {
commType: string;
connectionId: string;
conversationId: string;
fromId: string;
commandsCulture: string;
ttsAudioFormat: string;
};
version: number;
}