A channel obtained from fetching an invite.

interface APIInviteChannel {
    icon?: string;
    id: string;
    name: null | string;
    recipients?: Pick<APIUser, "username">[];
    type: ChannelType;
}

Hierarchy (View Summary)

Properties

icon?: string

Icon hash.

id: string

The id of the channel

name: null | string

The name of the channel (1-100 characters)

recipients?: Pick<APIUser, "username">[]

The invite channel's recipients.

Only includes usernames of users.

The type of the channel