Interface ChannelRolePermission

interface ChannelRolePermission {
    channelID: string;
    createdAt: string;
    guildID: 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

guildID: string

ID of the Guild *

permission: Permissions[]
roleID: number

The ID of the role

updatedAt?: string

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