@@ -102,23 +102,23 @@ Use the SocketIOInput channel: See [instructions in the Rasa Core documentation]
102102#### Others
103103Your backend must expose a socket with [ socket.io] ( http://socket.io )
104104
105- ### Receiving messages from the chat
105+ ##### Receiving messages from the chat
106106
107107``` python
108108@socketio.on (' user_uttered' )
109109 def handle_message (message ):
110110 # do something
111111```
112112
113- ### Sending messages from the backend to the chat widget
113+ ##### Sending messages from the backend to the chat widget
114114
115- ##### sending plain text
115+ ###### sending plain text
116116
117117``` python
118118emit(' bot_uttered' , {" text" : " hello" }, room = session_id)
119119```
120120
121- ##### sending quick replies
121+ ###### sending quick replies
122122
123123``` python
124124message = {
@@ -130,7 +130,7 @@ message = {
130130emit(' bot_uttered' , message, room = socket_id)
131131```
132132
133- ##### sending a link Snippet
133+ ###### sending a link Snippet
134134
135135Admittedly a bit far fetched, thinking that Snippets would evolve to carousels
136136of generic templates :)
@@ -157,7 +157,7 @@ message = {
157157emit(' bot_uttered' , message, room = socket_id)
158158```
159159
160- ##### sending a Video Message
160+ ###### sending a Video Message
161161
162162``` python
163163message = {
@@ -172,7 +172,7 @@ message = {
172172emit(' bot_uttered' , message, room = socket_id)
173173```
174174
175- ##### sending an Image Message
175+ ###### sending an Image Message
176176
177177``` python
178178message = {
0 commit comments