mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 23:16:18 +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. |
||
---|---|---|
.. | ||
types | ||
bookmark_extension.rb | ||
category_extension.rb | ||
channel_archive_service.rb | ||
channel_fetcher.rb | ||
channel_hashtag_data_source.rb | ||
channel_membership_manager.rb | ||
duplicate_message_validator.rb | ||
engine.rb | ||
group_extension.rb | ||
guardian_extensions.rb | ||
mailer.rb | ||
message_bookmarkable.rb | ||
message_mover.rb | ||
message_processor.rb | ||
message_rate_limiter.rb | ||
message_reactor.rb | ||
messages_exporter.rb | ||
notification_levels.rb | ||
notifier.rb | ||
onebox_handler.rb | ||
outgoing_web_hook_extension.rb | ||
parsed_mentions.rb | ||
plugin_instance_extension.rb | ||
post_notification_handler.rb | ||
review_queue.rb | ||
reviewable_extension.rb | ||
secure_uploads_compatibility.rb | ||
seeder.rb | ||
slack_compatibility.rb | ||
statistics.rb | ||
steps_inspector.rb | ||
transcript_service.rb | ||
user_email_extension.rb | ||
user_extension.rb | ||
user_notifications_extension.rb | ||
user_option_extension.rb |