Skip to content

Commit 44e4319

Browse files
committed
Merge branch 'send-message-on-land' of github.com:gausie/rasa-webchat into send-message-on-land
2 parents be4ef10 + 0682002 commit 44e4319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ emit('bot_uttered', message, room=socket_id)
208208
`storage: "local"` defines the state to be stored in the local stoage. The local storage persists after the the browser is closed, and is cleared when the cookies of the browser are cleared, or when `localStorage.clear()`is called.
209209

210210

211-
## Sending a message on page load
211+
### Sending a message on page load
212212

213213
When reconnecting to an existing chat session, the bot will send a message contained in the localStorage key specified by the `NEXT_MESSAGE` constant. The message should be stringified JSON with a `message` property describing the message and an `expiry` property set to a UNIX timestamp in milliseconds after which this message should not be sent. This is useful if you would like your bot to be able to offer your user to navigate around the site.
214214

0 commit comments

Comments
 (0)