{"asyncapi":"2.6.0","info":{"title":"Websocket API","version":"1.0.0"},"channels":{"/callControl":{"description":"The call control channel conveys information about the state of a call session on jambonz\n","publish":{"operationId":"call-control-publish","summary":"Server messages","message":{"oneOf":[{"$ref":"#/components/messages/subpackage_callControl.callControl-server-0-receiveSessionNew"},{"$ref":"#/components/messages/subpackage_callControl.callControl-server-1-receiveSessionRedirect"},{"$ref":"#/components/messages/subpackage_callControl.callControl-server-2-receiveSessionAdulting"},{"$ref":"#/components/messages/subpackage_callControl.callControl-server-3-receiveCallStatus"}]}},"subscribe":{"operationId":"call-control-subscribe","summary":"sendVerbs","description":"Send verbs to jambonz in response to a session message or action hook.  Used for acknowledging messages that require a response.","message":{"name":"sendVerbs","title":"sendVerbs","description":"Send verbs to jambonz in response to a session message or action hook.  Used for acknowledging messages that require a response.","payload":{"$ref":"#/components/schemas/callControl_verbPayload"}}}},"/llm":{"description":"The LLM channel handles communication related to large language models\n","publish":{"operationId":"llm-publish","summary":"Server messages","message":{"oneOf":[{"$ref":"#/components/messages/subpackage_llm.llm-server-0-receiveLlmToolCall"},{"$ref":"#/components/messages/subpackage_llm.llm-server-1-receiveLlmEvent"}]}},"subscribe":{"operationId":"llm-subscribe","summary":"Client messages","message":{"oneOf":[{"$ref":"#/components/messages/subpackage_llm.llm-client-0-sendLlmToolOutput"},{"$ref":"#/components/messages/subpackage_llm.llm-client-1-sendLlmUpdate"}]}}},"/tts":{"description":"The TTS channel handles communications related to text-to-speech operations\n","publish":{"operationId":"tts-publish","summary":"Server messages","message":{"oneOf":[{"$ref":"#/components/messages/subpackage_tts.tts-server-0-receiveTtsStreamingEvent"},{"$ref":"#/components/messages/subpackage_tts.tts-server-1-receiveTtsTokensResult"}]}},"subscribe":{"operationId":"tts-subscribe","summary":"Client messages","message":{"oneOf":[{"$ref":"#/components/messages/subpackage_tts.tts-client-0-sendTtsTokens"},{"$ref":"#/components/messages/subpackage_tts.tts-client-1-sendTtsFlush"},{"$ref":"#/components/messages/subpackage_tts.tts-client-2-sendTtsClear"}]}}}},"components":{"messages":{"subpackage_callControl.callControl-server-0-receiveSessionNew":{"name":"receiveSessionNew","title":"receiveSessionNew","description":"Receive notification of a new session from jambonz.  Requires an acknowledgement response.","payload":{"$ref":"#/components/schemas/callControl_sessionNew"}},"subpackage_callControl.callControl-server-1-receiveSessionRedirect":{"name":"receiveSessionRedirect","title":"receiveSessionRedirect","description":"Receive notification of a session redirect from jambonz. Requires an acknowledgement response.","payload":{"$ref":"#/components/schemas/callControl_sessionRedirect"}},"subpackage_callControl.callControl-server-2-receiveSessionAdulting":{"name":"receiveSessionAdulting","title":"receiveSessionAdulting","description":"Receive notification a child session has been promoted to a standalone session. Requires an acknowledgement response.","payload":{"$ref":"#/components/schemas/callControl_sessionAdulting"}},"subpackage_callControl.callControl-server-3-receiveCallStatus":{"name":"receiveCallStatus","title":"receiveCallStatus","description":"Receive notification about a call status change. This is notification-only and does not require an acknowledgement response.","payload":{"$ref":"#/components/schemas/callControl_callStatus"}},"subpackage_llm.llm-server-0-receiveLlmToolCall":{"name":"receiveLlmToolCall","title":"receiveLlmToolCall","description":"Receive a tool call request from an LLM","payload":{"$ref":"#/components/schemas/llm_llmToolCall"}},"subpackage_llm.llm-server-1-receiveLlmEvent":{"name":"receiveLlmEvent","title":"receiveLlmEvent","description":"Receive an event notification from an LLM","payload":{"$ref":"#/components/schemas/llm_llmEvent"}},"subpackage_llm.llm-client-0-sendLlmToolOutput":{"name":"sendLlmToolOutput","title":"sendLlmToolOutput","description":"Send the output of a tool call back to jambonz","payload":{"$ref":"#/components/schemas/llm_llmToolOutput"}},"subpackage_llm.llm-client-1-sendLlmUpdate":{"name":"sendLlmUpdate","title":"sendLlmUpdate","description":"Send an update to an ongoing LLM interaction","payload":{"$ref":"#/components/schemas/llm_llmUpdate"}},"subpackage_tts.tts-server-0-receiveTtsStreamingEvent":{"name":"receiveTtsStreamingEvent","title":"receiveTtsStreamingEvent","description":"Receive streaming events from the TTS engine","payload":{"$ref":"#/components/schemas/tts_ttsStreamingEvent"}},"subpackage_tts.tts-server-1-receiveTtsTokensResult":{"name":"receiveTtsTokensResult","title":"receiveTtsTokensResult","description":"Receive result of a TTS tokens request. This is always sent in response to a sendTtsTokens operation.","payload":{"$ref":"#/components/schemas/tts_ttsTokensResult"}},"subpackage_tts.tts-client-0-sendTtsTokens":{"name":"sendTtsTokens","title":"sendTtsTokens","description":"Send text tokens to be synthesized by the TTS engine. Each sendTtsTokens operation will receive a corresponding receiveTtsTokensResult response.","payload":{"$ref":"#/components/schemas/tts_ttsTokens"}},"subpackage_tts.tts-client-1-sendTtsFlush":{"name":"sendTtsFlush","title":"sendTtsFlush","description":"Instruct the TTS engine to flush the current buffer and complete synthesis. This operation does not receive a direct response.","payload":{"$ref":"#/components/schemas/tts_ttsFlush"}},"subpackage_tts.tts-client-2-sendTtsClear":{"name":"sendTtsClear","title":"sendTtsClear","description":"Instruct the TTS engine to clear the current buffer and cancel synthesis. This operation does not receive a direct response.","payload":{"$ref":"#/components/schemas/tts_ttsClear"}}},"schemas":{"ChannelsCallControlMessagesSessionNewDirection":{"type":"string","enum":["inbound","outbound"],"description":"The direction of the call","title":"ChannelsCallControlMessagesSessionNewDirection"},"ChannelsCallControlMessagesSessionNewSipHeaders":{"type":"object","properties":{},"description":"SIP headers associated with the call","title":"ChannelsCallControlMessagesSessionNewSipHeaders"},"ChannelsCallControlMessagesSessionNewSip":{"type":"object","properties":{"headers":{"$ref":"#/components/schemas/ChannelsCallControlMessagesSessionNewSipHeaders","description":"SIP headers associated with the call"},"raw":{"type":"string","description":"The raw SIP INVITE message for the call"},"body":{"type":"string","description":"The body of the SIP INVITE message for the call"},"method":{"type":"string","description":"The SIP method for the call"},"uri":{"type":"string","description":"The SIP URI for the call"},"payload":{"type":"array","items":{"description":"Any type"},"description":"The SIP payloads for the call"}},"required":["headers","raw","body","method","uri","payload"],"title":"ChannelsCallControlMessagesSessionNewSip"},"ChannelsCallControlMessagesSessionNewDefaultsSynthesizer":{"type":"object","properties":{"vendor":{"type":"string","description":"The synthesizer vendor"},"language":{"type":"string","description":"The language for the synthesizer"},"voice":{"type":"string","description":"The voice for the synthesizer"}},"required":["vendor","language","voice"],"title":"ChannelsCallControlMessagesSessionNewDefaultsSynthesizer"},"ChannelsCallControlMessagesSessionNewDefaultsRecognizer":{"type":"object","properties":{"vendor":{"type":"string","description":"The recognizer vendor"},"language":{"type":"string","description":"The language for the recognizer"}},"required":["vendor","language"],"title":"ChannelsCallControlMessagesSessionNewDefaultsRecognizer"},"ChannelsCallControlMessagesSessionNewDefaults":{"type":"object","properties":{"synthesizer":{"$ref":"#/components/schemas/ChannelsCallControlMessagesSessionNewDefaultsSynthesizer"},"recognizer":{"$ref":"#/components/schemas/ChannelsCallControlMessagesSessionNewDefaultsRecognizer"}},"title":"ChannelsCallControlMessagesSessionNewDefaults"},"callControl_sessionNew":{"type":"object","properties":{"call_sid":{"type":"string","description":"The unique identifier for the call session"},"b3":{"type":"string","description":"The open telemetry trace identifier for the session"},"direction":{"$ref":"#/components/schemas/ChannelsCallControlMessagesSessionNewDirection","description":"The direction of the call"},"trace_id":{"type":"string","description":"The open telemetry trace identifier for the session"},"caller_name":{"type":"string","description":"The caller id of the calling party"},"account_sid":{"type":"string","description":"The unique identifier for the account associated with the call"},"application_sid":{"type":"string","description":"The unique identifier for the application associated with the call"},"from":{"type":"string","description":"The calling party phone number or identifier"},"to":{"type":"string","description":"The called party phone number or identifier"},"call_id":{"type":"string","description":"The SIP call-id for the feature server leg of the call"},"sbc_callid":{"type":"string","description":"The SIP call-id for the external-facing leg of the call"},"originating_sip_ip":{"type":"string","description":"The IP address of the originating SIP device for inbound calls"},"originating_sip_trunk_name":{"type":"string","description":"The name of the originating SIP trunk for inbound calls"},"local_sip_address":{"type":"string","description":"The local SIP address for the call"},"public_ip":{"type":"string","description":"The public IP address of the jambonz SBC SIP instance handling the call"},"service_provider_sid":{"type":"string","description":"The unique identifier for the jambonz service provider associated with the call"},"msgid":{"type":"string"},"sip":{"$ref":"#/components/schemas/ChannelsCallControlMessagesSessionNewSip"},"defaults":{"$ref":"#/components/schemas/ChannelsCallControlMessagesSessionNewDefaults"}},"required":["sip"],"title":"callControl_sessionNew"},"ChannelsCallControlMessagesSessionRedirectDirection":{"type":"string","enum":["inbound","outbound"],"description":"The direction of the call","title":"ChannelsCallControlMessagesSessionRedirectDirection"},"callControl_sessionRedirect":{"type":"object","properties":{"call_sid":{"type":"string","description":"The unique identifier for the call session"},"b3":{"type":"string","description":"The open telemetry trace identifier for the session"},"direction":{"$ref":"#/components/schemas/ChannelsCallControlMessagesSessionRedirectDirection","description":"The direction of the call"},"trace_id":{"type":"string","description":"The open telemetry trace identifier for the session"},"caller_name":{"type":"string","description":"The caller id of the calling party"},"account_sid":{"type":"string","description":"The unique identifier for the account associated with the call"},"application_sid":{"type":"string","description":"The unique identifier for the application associated with the call"},"from":{"type":"string","description":"The calling party phone number or identifier"},"to":{"type":"string","description":"The called party phone number or identifier"},"call_id":{"type":"string","description":"The SIP call-id for the feature server leg of the call"},"sbc_callid":{"type":"string","description":"The SIP call-id for the external-facing leg of the call"},"originating_sip_ip":{"type":"string","description":"The IP address of the originating SIP device for inbound calls"},"originating_sip_trunk_name":{"type":"string","description":"The name of the originating SIP trunk for inbound calls"},"local_sip_address":{"type":"string","description":"The local SIP address for the call"},"public_ip":{"type":"string","description":"The public IP address of the jambonz SBC SIP instance handling the call"},"service_provider_sid":{"type":"string","description":"The unique identifier for the jambonz service provider associated with the call"},"msgid":{"type":"string"}},"title":"callControl_sessionRedirect"},"ChannelsCallControlMessagesSessionAdultingDirection":{"type":"string","enum":["inbound","outbound"],"description":"The direction of the call","title":"ChannelsCallControlMessagesSessionAdultingDirection"},"callControl_sessionAdulting":{"type":"object","properties":{"call_sid":{"type":"string","description":"The unique identifier for the call session"},"b3":{"type":"string","description":"The open telemetry trace identifier for the session"},"direction":{"$ref":"#/components/schemas/ChannelsCallControlMessagesSessionAdultingDirection","description":"The direction of the call"},"trace_id":{"type":"string","description":"The open telemetry trace identifier for the session"},"caller_name":{"type":"string","description":"The caller id of the calling party"},"account_sid":{"type":"string","description":"The unique identifier for the account associated with the call"},"application_sid":{"type":"string","description":"The unique identifier for the application associated with the call"},"from":{"type":"string","description":"The calling party phone number or identifier"},"to":{"type":"string","description":"The called party phone number or identifier"},"call_id":{"type":"string","description":"The SIP call-id for the feature server leg of the call"},"sbc_callid":{"type":"string","description":"The SIP call-id for the external-facing leg of the call"},"originating_sip_ip":{"type":"string","description":"The IP address of the originating SIP device for inbound calls"},"originating_sip_trunk_name":{"type":"string","description":"The name of the originating SIP trunk for inbound calls"},"local_sip_address":{"type":"string","description":"The local SIP address for the call"},"public_ip":{"type":"string","description":"The public IP address of the jambonz SBC SIP instance handling the call"},"service_provider_sid":{"type":"string","description":"The unique identifier for the jambonz service provider associated with the call"},"msgid":{"type":"string"}},"title":"callControl_sessionAdulting"},"ChannelsCallControlMessagesCallStatusDirection":{"type":"string","enum":["inbound","outbound"],"description":"The direction of the call","title":"ChannelsCallControlMessagesCallStatusDirection"},"ChannelsCallControlMessagesCallStatusCallStatus":{"type":"string","enum":["trying","ringing","early-media","in-progress","queued","failed","busy","no-answer","completed"],"description":"The new status of the call","title":"ChannelsCallControlMessagesCallStatusCallStatus"},"callControl_callStatus":{"type":"object","properties":{"call_sid":{"type":"string","description":"The unique identifier for the call session"},"b3":{"type":"string","description":"The open telemetry trace identifier for the session"},"direction":{"$ref":"#/components/schemas/ChannelsCallControlMessagesCallStatusDirection","description":"The direction of the call"},"trace_id":{"type":"string","description":"The open telemetry trace identifier for the session"},"caller_name":{"type":"string","description":"The caller id of the calling party"},"account_sid":{"type":"string","description":"The unique identifier for the account associated with the call"},"application_sid":{"type":"string","description":"The unique identifier for the application associated with the call"},"from":{"type":"string","description":"The calling party phone number or identifier"},"to":{"type":"string","description":"The called party phone number or identifier"},"call_id":{"type":"string","description":"The SIP call-id for the feature server leg of the call"},"sbc_callid":{"type":"string","description":"The SIP call-id for the external-facing leg of the call"},"originating_sip_ip":{"type":"string","description":"The IP address of the originating SIP device for inbound calls"},"originating_sip_trunk_name":{"type":"string","description":"The name of the originating SIP trunk for inbound calls"},"local_sip_address":{"type":"string","description":"The local SIP address for the call"},"public_ip":{"type":"string","description":"The public IP address of the jambonz SBC SIP instance handling the call"},"service_provider_sid":{"type":"string","description":"The unique identifier for the jambonz service provider associated with the call"},"msgid":{"type":"string"},"callStatus":{"$ref":"#/components/schemas/ChannelsCallControlMessagesCallStatusCallStatus","description":"The new status of the call"},"sipStatus":{"type":"number","format":"double","description":"The sip status for the INVITE transaction"},"sipReason":{"type":"string","description":"The sip reason associated with sipStatus"},"duration":{"type":"number","format":"double","description":"The duration of the completed call in seconds"}},"title":"callControl_callStatus"},"ChannelsCallControlMessagesVerbPayloadType":{"type":"string","enum":["ack","command"],"description":"Indicates if the message is a response or an unsolicited command","title":"ChannelsCallControlMessagesVerbPayloadType"},"ChannelsCallControlMessagesVerbPayloadCommand":{"type":"string","enum":["redirect","call:status","config","dial","dub","record","mute:status","conf:mute-status","conf:hold-status","conf:particpant-action","listen:status","stream:status","transcribe:status","whisper","sip:request","dtmf","boostAudioSignal","media:path","llm:tool-output","llm:update","tts:tokens","tts:flush","tts:clear"],"description":"Command type","title":"ChannelsCallControlMessagesVerbPayloadCommand"},"ChannelsCallControlMessagesVerbPayloadDataItems":{"type":"object","properties":{"verb":{"type":"string","description":"The verb to execute (using colon format, e.g., \"say\", \"play\")"}},"required":["verb"],"title":"ChannelsCallControlMessagesVerbPayloadDataItems"},"callControl_verbPayload":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ChannelsCallControlMessagesVerbPayloadType","description":"Indicates if the message is a response or an unsolicited command"},"msgid":{"type":"string","description":"The message ID this is in response to (included when type is \"ack\")"},"queueCommand":{"type":"boolean","description":"Whether to queue the command or execute it immediately"},"command":{"$ref":"#/components/schemas/ChannelsCallControlMessagesVerbPayloadCommand","description":"Command type"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ChannelsCallControlMessagesVerbPayloadDataItems"},"description":"Array of verb objects to execute"}},"required":["type"],"title":"callControl_verbPayload"},"ChannelsLlmMessagesLlmToolCallType":{"type":"string","enum":["llm:tool-call"],"description":"Message type","title":"ChannelsLlmMessagesLlmToolCallType"},"ChannelsLlmMessagesLlmToolCallDataArguments":{"type":"object","properties":{},"description":"Arguments to pass to the tool","title":"ChannelsLlmMessagesLlmToolCallDataArguments"},"ChannelsLlmMessagesLlmToolCallData":{"type":"object","properties":{"tool_call_id":{"type":"string","description":"Unique identifier for the tool call provided by the LLM.  This is used to associate tool call results."},"name":{"type":"string","description":"The name of the tool, or function to call"},"arguments":{"$ref":"#/components/schemas/ChannelsLlmMessagesLlmToolCallDataArguments","description":"Arguments to pass to the tool"}},"title":"ChannelsLlmMessagesLlmToolCallData"},"llm_llmToolCall":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ChannelsLlmMessagesLlmToolCallType","description":"Message type"},"hook":{"type":"string","description":"The event hook value set by the application"},"data":{"$ref":"#/components/schemas/ChannelsLlmMessagesLlmToolCallData"}},"required":["type","hook","data"],"title":"llm_llmToolCall"},"ChannelsLlmMessagesLlmEventType":{"type":"string","enum":["llm:event"],"description":"Message type","title":"ChannelsLlmMessagesLlmEventType"},"ChannelsLlmMessagesLlmEventData":{"type":"object","properties":{},"description":"Event data from the LLM","title":"ChannelsLlmMessagesLlmEventData"},"llm_llmEvent":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ChannelsLlmMessagesLlmEventType","description":"Message type"},"hook":{"type":"string","description":"The event hook value set by the application"},"data":{"$ref":"#/components/schemas/ChannelsLlmMessagesLlmEventData","description":"Event data from the LLM"}},"required":["type","hook","data"],"title":"llm_llmEvent"},"ChannelsLlmMessagesLlmToolOutputType":{"type":"string","enum":["command"],"description":"Message type","title":"ChannelsLlmMessagesLlmToolOutputType"},"ChannelsLlmMessagesLlmToolOutputCommand":{"type":"string","enum":["llm:tool-output"],"description":"Command type","title":"ChannelsLlmMessagesLlmToolOutputCommand"},"ChannelsLlmMessagesLlmToolOutputDataData":{"type":"object","properties":{},"description":"Output data from the tool execution","title":"ChannelsLlmMessagesLlmToolOutputDataData"},"ChannelsLlmMessagesLlmToolOutputData":{"type":"object","properties":{"tool_call_id":{"type":"string","description":"Identifier of the tool call being responded to"},"data":{"$ref":"#/components/schemas/ChannelsLlmMessagesLlmToolOutputDataData","description":"Output data from the tool execution"}},"title":"ChannelsLlmMessagesLlmToolOutputData"},"llm_llmToolOutput":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ChannelsLlmMessagesLlmToolOutputType","description":"Message type"},"command":{"$ref":"#/components/schemas/ChannelsLlmMessagesLlmToolOutputCommand","description":"Command type"},"data":{"$ref":"#/components/schemas/ChannelsLlmMessagesLlmToolOutputData"}},"required":["type","command","data"],"title":"llm_llmToolOutput"},"ChannelsLlmMessagesLlmUpdateType":{"type":"string","enum":["command"],"description":"Message type","title":"ChannelsLlmMessagesLlmUpdateType"},"ChannelsLlmMessagesLlmUpdateCommand":{"type":"string","enum":["llm:update"],"description":"Command type","title":"ChannelsLlmMessagesLlmUpdateCommand"},"ChannelsLlmMessagesLlmUpdateData":{"type":"object","properties":{},"description":"Update data for the LLM","title":"ChannelsLlmMessagesLlmUpdateData"},"llm_llmUpdate":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ChannelsLlmMessagesLlmUpdateType","description":"Message type"},"command":{"$ref":"#/components/schemas/ChannelsLlmMessagesLlmUpdateCommand","description":"Command type"},"data":{"$ref":"#/components/schemas/ChannelsLlmMessagesLlmUpdateData","description":"Update data for the LLM"}},"required":["type","command","data"],"title":"llm_llmUpdate"},"ChannelsTtsMessagesTtsStreamingEventType":{"type":"string","enum":["tts:streaming-event"],"description":"Message type","title":"ChannelsTtsMessagesTtsStreamingEventType"},"ChannelsTtsMessagesTtsStreamingEventDataEventType":{"type":"string","enum":["stream_paused","stream_resumed","user_interruption","stream_open","stream_closed"],"description":"Type of the streaming event","title":"ChannelsTtsMessagesTtsStreamingEventDataEventType"},"ChannelsTtsMessagesTtsStreamingEventData":{"type":"object","properties":{"event_type":{"$ref":"#/components/schemas/ChannelsTtsMessagesTtsStreamingEventDataEventType","description":"Type of the streaming event"}},"required":["event_type"],"title":"ChannelsTtsMessagesTtsStreamingEventData"},"tts_ttsStreamingEvent":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ChannelsTtsMessagesTtsStreamingEventType","description":"Message type"},"data":{"$ref":"#/components/schemas/ChannelsTtsMessagesTtsStreamingEventData"}},"required":["type","data"],"title":"tts_ttsStreamingEvent"},"ChannelsTtsMessagesTtsTokensResultType":{"type":"string","enum":["tts:tokens-result"],"description":"Message type","title":"ChannelsTtsMessagesTtsTokensResultType"},"ChannelsTtsMessagesTtsTokensResultDataStatus":{"type":"string","enum":["ok","failed","error"],"description":"Status of the tokens request","title":"ChannelsTtsMessagesTtsTokensResultDataStatus"},"ChannelsTtsMessagesTtsTokensResultData":{"type":"object","properties":{"id":{"type":"integer","description":"ID of the tokens request"},"status":{"$ref":"#/components/schemas/ChannelsTtsMessagesTtsTokensResultDataStatus","description":"Status of the tokens request"},"reason":{"type":"string","description":"Reason for the status (e.g., 'full' when buffer is full)"}},"required":["id","status"],"title":"ChannelsTtsMessagesTtsTokensResultData"},"tts_ttsTokensResult":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ChannelsTtsMessagesTtsTokensResultType","description":"Message type"},"data":{"$ref":"#/components/schemas/ChannelsTtsMessagesTtsTokensResultData"}},"required":["type","data"],"title":"tts_ttsTokensResult"},"ChannelsTtsMessagesTtsTokensType":{"type":"string","enum":["command"],"description":"Message type","title":"ChannelsTtsMessagesTtsTokensType"},"ChannelsTtsMessagesTtsTokensCommand":{"type":"string","enum":["tts:tokens"],"description":"Command type","title":"ChannelsTtsMessagesTtsTokensCommand"},"ChannelsTtsMessagesTtsTokensData":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier for this tokens request"},"tokens":{"type":"string","description":"Text to be synthesized"}},"required":["id","tokens"],"title":"ChannelsTtsMessagesTtsTokensData"},"tts_ttsTokens":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ChannelsTtsMessagesTtsTokensType","description":"Message type"},"command":{"$ref":"#/components/schemas/ChannelsTtsMessagesTtsTokensCommand","description":"Command type"},"data":{"$ref":"#/components/schemas/ChannelsTtsMessagesTtsTokensData"}},"required":["type","command","data"],"title":"tts_ttsTokens"},"ChannelsTtsMessagesTtsFlushType":{"type":"string","enum":["command"],"description":"Message type","title":"ChannelsTtsMessagesTtsFlushType"},"ChannelsTtsMessagesTtsFlushCommand":{"type":"string","enum":["tts:flush"],"description":"Command type","title":"ChannelsTtsMessagesTtsFlushCommand"},"tts_ttsFlush":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ChannelsTtsMessagesTtsFlushType","description":"Message type"},"command":{"$ref":"#/components/schemas/ChannelsTtsMessagesTtsFlushCommand","description":"Command type"}},"required":["type","command"],"title":"tts_ttsFlush"},"ChannelsTtsMessagesTtsClearType":{"type":"string","enum":["command"],"description":"Message type","title":"ChannelsTtsMessagesTtsClearType"},"ChannelsTtsMessagesTtsClearCommand":{"type":"string","enum":["tts:clear"],"description":"Command type","title":"ChannelsTtsMessagesTtsClearCommand"},"tts_ttsClear":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ChannelsTtsMessagesTtsClearType","description":"Message type"},"command":{"$ref":"#/components/schemas/ChannelsTtsMessagesTtsClearCommand","description":"Command type"}},"required":["type","command"],"title":"tts_ttsClear"}}}}