# Toggle visibility of messages by sender

**URL:** <https://community.sendbird.com/t/toggle-visibility-of-messages-by-sender/1970>\
**Category:** Sendbird Chat API/SDK\
**Tags:** chatsdk\
**Created:** [March 29, 2021, 6:23pm UTC](https://community.sendbird.com/t/toggle-visibility-of-messages-by-sender/1970 "2021-03-29T18:23:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dilandane](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@dilandane](https://community.sendbird.com/u/dilandane)\
**Post date:** [March 29, 2021, 6:23pm UTC](https://community.sendbird.com/t/toggle-visibility-of-messages-by-sender/1970/1 "2021-03-29T18:23:46Z")

</div>

We are evaluating using SendBird and have a question - is it possible to hide messages from a specific user in a given channel?

Use case:  
In our app, our clients chat with our remote personal trainers. From the client’s point of view, this needs to look like a 2 person btw the client and the coach. However from an admin point of view, we want support and admin folks to comment on messages in the channel, and leave new messages. These comments and messages left by support folks should NOT be visible to users.

Is it possible to achieve this using SendBird? This question is for the web / JS api.

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [March 29, 2021, 6:53pm UTC](https://community.sendbird.com/t/toggle-visibility-of-messages-by-sender/1970/2 "2021-03-29T18:53:12Z")

</div>

@dilandane,

This could be something easily implemented on the front end. Essentially, you could utilize the `data` or `sorted_metaarray` to contain an attribute such as something like `isFromSupport`. Then on the customers render of the message list, you’d just not render any message that has that attribute associated with it.

Let me know if you have any additional questions.

-Tyler

---

<div class="post-metadata">

**Author:** ![dilandane](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@dilandane](https://community.sendbird.com/u/dilandane)\
**Post date:** [March 29, 2021, 10:13pm UTC](https://community.sendbird.com/t/toggle-visibility-of-messages-by-sender/1970/3 "2021-03-29T22:13:12Z")

</div>

Tyler, that could work! Is it also possible to only notify the trainer but not the client when support replies to a message in a thread? (i.e. in app notifications)
