Skip to content

Function: privateChannelPermissions() ​

ts
function privateChannelPermissions(role): bigint;

Defined in: permissions.ts:127

A conversation's fixed permissions by membership role (ADMIN for whoever started it, MEMBER for everyone else), the same for the server enforcing them and the clients deciding what to offer. Anything else is nothing.

Parameters ​

ParameterType
rolestring | null | undefined

Returns ​

bigint

Released under the GNU Affero General Public License v3.0.