SystemUser for Silent Messages #1683
-
Documentation for silent messages mentions a If I pass a blank I thought I could use this to show stuff like "User X added User Y" in the center. Is it not for this? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Silent messages are just messages that don't mark the channel as unread and don't increase the count of unread messages. |
Beta Was this translation helpful? Give feedback.
-
Ok, thank you. About the custom messages like this, I do not want the message to be associated with any of channel members. Will the sender user need to be someone with admin/moderator permission so that sender can send such custom messages to all the channels? Perhaps, this user need to be maintained by a backend of some sort which monitors events happening in channels and posts these messages. Is this right? |
Beta Was this translation helpful? Give feedback.
-
You'll need to send a system message, take a look at the message types: https://getstream.io/chat/docs/other-rest/message_format/?language=#message-types. |
Beta Was this translation helpful? Give feedback.
-
There are two ways of achieving this:
|
Beta Was this translation helpful? Give feedback.
There are two ways of achieving this:
regular
, but can be rendered differently by adding custom data to them.