Starts an HTTP/2 bidirectional event stream that enables you to send audio, text, or DTMF input in real time. After your application starts a conversation, users send input to Amazon Lex V2 as a stream of events. Amazon Lex V2 processes the incoming events and responds with streaming text or audio events.
See https://www.paws-r-sdk.com/docs/lexruntimev2_start_conversation/ for full documentation.
lexruntimev2_start_conversation(
botId,
botAliasId,
localeId,
sessionId,
conversationMode = NULL,
requestEventStream
)
[required] The identifier of the bot to process the request.
[required] The alias identifier in use for the bot that processes the request.
[required] The locale where the session is in use.
[required] The identifier of the user session that is having the conversation.
The conversation type that you are using the Amazon Lex V2. If the
conversation mode is AUDIO
you can send both audio and DTMF
information. If the mode is TEXT
you can only send text.
[required] Represents the stream of events to Amazon Lex V2 from your application. The events are encoded as HTTP/2 data frames.