API Message DTO.

interface APIMessage {
    attachments: string[];
    author: APIMember;
    channel: APIChannel;
    content: string;
    created_at: number;
    id: number;
}

Properties

attachments: string[]

The files attached to the message.

author: APIMember

The author of the message.

channel: APIChannel

The channel the message was sent in.

content: string

The content of the message.

created_at: number

The time when message sent at.

id: number

The id of the message.