ChatRole interface

Represents a chat role. A role name must start with 'user.' or 'room.' prefix. A role must contain either user permissions or room permissions, but not both.

Properties

etag

The entity tag for this resource.

name

Role name. Must start with 'user.' or 'room.' prefix.

permissions

Permissions associated with the role. Do not mix user permissions and room permissions in one role.

Property Details

etag

The entity tag for this resource.

etag: string

Property Value

string

name

Role name. Must start with 'user.' or 'room.' prefix.

name: string

Property Value

string

permissions

Permissions associated with the role. Do not mix user permissions and room permissions in one role.

permissions: string[]

Property Value

string[]