# How to give a user read-only access to a channel

**URL:** https://community.sendbird.com/t/how-to-give-a-user-read-only-access-to-a-channel/8283
**Category:** FAQs & Guides
**Created:** [September 18, 2023, 6:21pm UTC](https://community.sendbird.com/t/how-to-give-a-user-read-only-access-to-a-channel/8283 "2023-09-18T18:21:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Sendbird](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/sendbird/32/5002_2.png) [@Sendbird](https://community.sendbird.com/u/Sendbird)
#### Post date: [September 18, 2023, 6:21pm UTC](https://community.sendbird.com/t/how-to-give-a-user-read-only-access-to-a-channel/8283/1 "2023-09-18T18:21:35Z")

</div>

When you invite a new member to join the private channel, you can assign the following values to the optional property `invitation_status`: `invited_by_friend`, `invited_ by_non_friend`. The new member’s status will be [set as invited](https://sendbird.com/docs/chat/v3/platform-api/channel/inviting-a-user/invite-as-members-channel#1-invite-as-members).

**For example:**

```auto
{
    "user_ids": ["Fluo", "Justin", "Chris"],
    "invitation_status": {
        "Fluo": "invited_by_friend",
        "Justin": "invited_by_non_friend"
    },
    "inviter_id": "Jeff"
}

```

As shown in the code snippet, Fluo and Justin are not members of the channel so they will not be able to send any messages to the channel. However, they can retrieve the messages in order to read them. Additionally, when you display the members in the channel, you can [list the members](https://sendbird.com/docs/chat/v3/platform-api/channel/listing-users/list-members-of-a-group-channel#1-list-members-of-a-group-channel) with `member_state_filter` set to `joined_only` in order to prevent other members from noticing the read-only users.
