mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-26 18:56:13 +01:00
Docs: Also add the streaming docs to the Chat api doc.
This commit is contained in:
parent
3898dd69a6
commit
32431ad1ee
@ -220,3 +220,7 @@ There's a new `pleroma:chat_mention` notification, which has this form:
|
||||
"created_at": "somedate"
|
||||
}
|
||||
```
|
||||
|
||||
### Streaming
|
||||
|
||||
There is an additional `user:pleroma_chat` stream. Incoming chat messages will make the current chat be sent to this `user` stream. The `event` of an incoming chat message is `pleroma:chat_update`. The payload is the updated chat with the incoming chat message in the `last_message` field.
|
||||
|
Loading…
Reference in New Issue
Block a user