# vx_evt_participant_removed

> Reference the Vivox Core SDK API.

**Module:** **[Group Voice and Text Communications](./group__session.md)**

Presented when a participant is removed from a session.

`#include <VxcEvents.h>`

## Public Attributes

|                                                                                     | Name                                                                                                                                                                  |
| ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [vx\_evt\_base\_t](./_vxc_8h.md#typedef-vx_evt_base_t)                              | **[base](./structvx__evt__participant__removed.md#variable-base)** The common properties for all events.                                                              |
| [VX\_HANDLE](./_vxc_8h.md#typedef-vx_handle)                                        | **[sessiongroup\_handle](./structvx__evt__participant__removed.md#variable-sessiongroup_handle)** The handle returned from a successful session group create request. |
| [VX\_HANDLE](./_vxc_8h.md#typedef-vx_handle)                                        | **[session\_handle](./structvx__evt__participant__removed.md#variable-session_handle)** The handle returned from a successful session create request.                 |
| char \*                                                                             | **[participant\_uri](./structvx__evt__participant__removed.md#variable-participant_uri)** The URI of the participant whose state has changed.                         |
| char \*                                                                             | **[account\_name](./structvx__evt__participant__removed.md#variable-account_name)** The account name of the participant.                                              |
| [vx\_participant\_removed\_reason](./_vxc_8h.md#enum-vx_participant_removed_reason) | **[reason](./structvx__evt__participant__removed.md#variable-reason)** The reason why the participant was removed from the session.                                   |
| char \*                                                                             | **[alias\_username](./structvx__evt__participant__removed.md#variable-alias_username)** The identity of the user if P2P, or null if a channel call.                   |
| char \*                                                                             | **[encoded\_uri\_with\_tag](./structvx__evt__participant__removed.md#variable-encoded_uri_with_tag)** The encoded URI for the user with the tag.                      |
| int                                                                                 | **[is\_current\_user](./structvx__evt__participant__removed.md#variable-is_current_user)** Indicates whether the message is from the current logged in user.          |

## Public Attributes Documentation

### variable base

```cpp
vx_evt_base_t base;
```

The common properties for all events.

### variable sessiongroup\_handle

```cpp
VX_HANDLE sessiongroup_handle;
```

The handle returned from a successful session group create request.

### variable session\_handle

```cpp
VX_HANDLE session_handle;
```

The handle returned from a successful session create request.

### variable participant\_uri

```cpp
char * participant_uri;
```

The URI of the participant whose state has changed.

### variable account\_name

```cpp
char * account_name;
```

The account name of the participant.

### variable reason

```cpp
vx_participant_removed_reason reason;
```

The reason why the participant was removed from the session.

The default is "left". See [vx\_participant\_removed\_reason](./_vxc_8h.md#enum-vx_participant_removed_reason)

### variable alias\_username

```cpp
char * alias_username;
```

The identity of the user if P2P, or null if a channel call.

**Note**: This is different than the participant\_uri, which is the actual internal Vivox identity of the original sender.

### variable encoded\_uri\_with\_tag

```cpp
char * encoded_uri_with_tag;
```

The encoded URI for the user with the tag.

This uniquely identifies users that might appear multiple times in a channel.

### variable is\_current\_user

```cpp
int is_current_user;
```

Indicates whether the message is from the current logged in user.
