notice
This is unreleased documentation for Rasa Open Source Documentation Master/Unreleased version.
For the latest released documentation, see the latest version (2.2.x).
Version: Master/Unreleased
rasa.core.channels.socketio
SocketIOOutput Objects
class SocketIOOutput(OutputChannel)
send_text_message
| async send_text_message(recipient_id: Text, text: Text, **kwargs: Any) -> None
Send a message through this channel.
send_image_url
| async send_image_url(recipient_id: Text, image: Text, **kwargs: Any) -> None
Sends an image to the output
send_text_with_buttons
| async send_text_with_buttons(recipient_id: Text, text: Text, buttons: List[Dict[Text, Any]], **kwargs: Any, ,) -> None
Sends buttons to the output.
send_elements
| async send_elements(recipient_id: Text, elements: Iterable[Dict[Text, Any]], **kwargs: Any) -> None
Sends elements to the output.
send_custom_json
| async send_custom_json(recipient_id: Text, json_message: Dict[Text, Any], **kwargs: Any) -> None
Sends custom json to the output
send_attachment
| async send_attachment(recipient_id: Text, attachment: Dict[Text, Any], **kwargs: Any) -> None
Sends an attachment to the user.
SocketIOInput Objects
class SocketIOInput(InputChannel)
A socket.io input channel.