# Invites

Invites allow you to add users to a channel with a pending state. The invited user receives a notification and can accept or reject the invite.

Unread counts are not incremented for channels with a pending invite.

## Invite Users

```cpp label="Unreal"
// Not yet supported in the Unreal SDK
```

## Accept an Invite

Call `acceptInvite` to accept a pending invite. You can optionally include a `message` parameter to post a system message when the user joins (e.g., "Nick joined this channel!").

```cpp label="Unreal"
// Not yet supported in the Unreal SDK
```

## Reject an Invite

Call `rejectInvite` to decline a pending invite. Client-side calls use the currently connected user. Server-side calls require a `user_id` parameter.

```cpp label="Unreal"
// Not yet supported in the Unreal SDK
```

## Query Invites by Status

Use `queryChannels` with the `invite` filter to retrieve channels based on invite status. Valid values are `pending`, `accepted`, and `rejected`.

### Query Accepted Invites

```cpp label="Unreal"
Client->QueryChannels(FFilter::Equal(TEXT("invite"), TEXT("accepted")));
```

### Query Rejected Invites

```cpp label="Unreal"
Client->QueryChannels(FFilter::Equal(TEXT("invite"), TEXT("rejected")));
```

### Query Pending Invites

```cpp label="Unreal"
Client->QueryChannels(FFilter::Equal(TEXT("invite"), TEXT("pending")));
```


---

This page was last updated at 2026-08-07T20:38:00.587Z.

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/unreal/channel-invites/](https://getstream.io/chat/docs/unreal/channel-invites/).