Interface JSONForumThreadComment

interface JSONForumThreadComment {
    channelID: string;
    content: string;
    createdAt: Date;
    guildID: null | string;
    id: number;
    memberID: string;
    mentions: null | {
        channels?: {
            id: string;
        }[];
        everyone?: boolean;
        here?: boolean;
        roles?: {
            id: number;
        }[];
        users?: {
            id: string;
        }[];
    };
    threadID: number;
    updatedAt: null | Date;
}

Hierarchy (view full)

Properties

channelID: string

ID of the forum channel containing this thread.

content: string

The content of the forum thread comment

createdAt: Date

The ISO 8601 timestamp that the forum thread comment was created at

guildID: null | string

ID of the forum thread's server, if provided.

id: number
memberID: string

The ID of the user who sent this comment.

mentions: null | {
    channels?: {
        id: string;
    }[];
    everyone?: boolean;
    here?: boolean;
    roles?: {
        id: number;
    }[];
    users?: {
        id: string;
    }[];
}

Mentions in this thread comment.

Type declaration

  • Optionalchannels?: {
        id: string;
    }[]

    Channels

    Info on mentioned channels

  • Optionaleveryone?: boolean

    Everyone

    If

    was mentioned

  • Optionalhere?: boolean

    Here

    If

    was mentioned

  • Optionalroles?: {
        id: number;
    }[]

    Roles

    Info on mentioned roles

  • Optionalusers?: {
        id: string;
    }[]

    Users

    Info on mentioned users

threadID: number

The ID of the forum thread

updatedAt: null | Date

The ISO 8601 timestamp that the forum thread comment was updated at, if relevant