Elements
Audio
The Audio
class allows you to display an audio player for a specific audio file in the chatbot user interface.
You must provide either an url or a path or content bytes.
Attributes
The name of the audio file to be displayed in the UI. This is shown to users.
Determines where the element should be displayed in the UI. Choices are “side” (default), “inline”, or “page”.
The remote URL of the audio.
The local file path of the audio.
The file content of the audio in bytes format.
Whether the audio should start playing automatically.
Example
Was this page helpful?