API Channel DTO.

interface APIChannel {
    created_at: number;
    display_name: string;
    icon: string;
    id: number;
    last_message?: APIMessage;
    member_count: number;
    name: string;
    owner: APIUser;
    type: ChannelType;
}

Properties

created_at: number

The time when channel created at.

display_name: string

The display name of the channel.

icon: string

The icon of the channel.

id: number

The id of the channel.

last_message?: APIMessage

The last sent message in channel.

member_count: number

Amount of members in channel.

name: string

The name of the channel.

owner: APIUser

The owner of the channel.

The type of the channel.