Add log to protocol docs

This commit is contained in:
osmarks 2018-10-06 10:11:12 +01:00
parent db95bdf1c5
commit a1d6c273b3
1 changed files with 7 additions and 0 deletions

View File

@ -33,6 +33,13 @@ Takes a `message` key (contents of message to send) and `channel` key (channel t
Returns the message sent.
#### log
Optionally takes `start` and `end` keys (slice of message log to return).
Returns the server's message log (on all channels); this consists of an array of `message` events.
The message log is newest-first and not persisted across server restarts.
### Events
#### message