Update 'resources/Docs/DOCS.md'
This commit is contained in:
parent
4d61db3e5b
commit
83eb80ce05
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ JSON data format:
|
|||
|
||||
Example:
|
||||
```json
|
||||
3@{"content":"i hate you","channel_id":"totally real channel id"}
|
||||
3@{"content":"i hate you","channel":{"_id":"totally real channel id"}}
|
||||
```
|
||||
|
||||
## 4:EVENT\_NEW\_MESSAGE
|
||||
|
@ -112,7 +112,7 @@ Example:
|
|||
|
||||
*Auth required, Server to client*
|
||||
|
||||
Sent by the server after YOO\_ACK, and otherwise when the entire status needs to be updated. If only one user's status changes, use EVENT\_CHANNEL\_MEMBER\_UPDATE.
|
||||
Sent by the server after YOO\_ACK, and otherwise when the entire status needs to be updated. Usually, this will be sent only once, and when subsequent user status updates need to happen, EVENT\_CHANNEL\_MEMBER\_UPDATE should be sent.
|
||||
|
||||
JSON data format (this ones tough):
|
||||
Contains a JSON object, where each key is a channel id and each property is an array of [user presence objects](#user-presence-object).
|
||||
|
|
Reference in a new issue