mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 00:13:44 +08:00
41790f7739
```ruby ChatSDK::Message.start_stream(message_id: 1, guardian: guardian) ChatSDK::Message.stream(raw: "foo", message_id: 1, guardian: guardian) ChatSDK::Message.stream(raw: "bar", message_id: 1, guardian: guardian) ChatSDK::Message.stop_stream(message_id: 1, guardian: guardian) ``` Generally speaking only admins or owners of the message can interact with a message. Also note, Streaming to an existing message with a different user won't change the initial user of the message. |
||
---|---|---|
.. | ||
channel.rb | ||
message.rb | ||
thread.rb |