Type alias ChannelRolePermissionPayload

ChannelRolePermissionPayload: {
    channelId: string;
    createdAt: string;
    permissions: Record<string, boolean>;
    roleId: number;
    updatedAt?: string;
}

Type declaration

  • channelId: string

    The ID of the channel

  • createdAt: string

    The ISO 8601 timestamp that the permission override was created at

  • permissions: Record<string, boolean>
  • roleId: number

    The ID of the role

  • Optional updatedAt?: string

    The ISO 8601 timestamp that the permission override was updated at, if relevant

Generated using TypeDoc