Interface ChannelRolePermission

interface ChannelRolePermission {
    channelId: string;
    createdAt: string;
    permission: Permissions[];
    roleId: number;
    updatedAt?: string;
}

Properties

channelId: string

The ID of the channel

createdAt: string

The ISO 8601 timestamp that the permission override was created at

permission: Permissions[]
roleId: number

The ID of the role

updatedAt?: string

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