Type alias MentionsPayload

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

Metadata of who or what is mentioned in content

Type declaration

  • Optional channels?: {
        id: string;
    }[]

    Info on mentioned channels

  • Optional everyone?: boolean

    If

    Everyone

    was mentioned

  • Optional here?: boolean

    If

    Here

    was mentioned

  • Optional roles?: {
        id: number;
    }[]

    Info on mentioned roles

  • Optional users?: {
        id: string;
    }[]

    Info on mentioned users

Generated using TypeDoc