> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# promote

> promote method for the RoomSession class.

### promote

* **promote**(`params`): `Promise<void>`

Promotes a participant from "audience" to "member". See [join](#join) and [demote](#demote).

#### Parameters

Object containing the parameters of the method.

Id of the audience participant to promote.

Force the member's audio to be muted right after the promotion.

Force the member's video to be muted right after the promotion.

Specifies the media that the client will be allowed to *send*. A member participant can always receive all media.

Metadata to assign to the member.

List of permissions to grant when the Audience participant will become a Member.

#### Returns

`Promise<void>`

#### Permissions

* `room.member.promote`

You need to specify the permissions when [creating the Video Room Token](/docs/apis/rest/video/room-tokens/create-room-token) on the server side.

#### Example

```javascript
await roomSession.promote({
  memberId: "de550c0c-3fac-4efd-b06f-b5b8614b8966",
  mediaAllowed: "all",
  permissions: [
    "room.self.audio_mute",
    "room.self.audio_unmute",
    "room.self.video_mute",
    "room.self.video_unmute",
    "room.list_available_layouts",
  ],
});
```