Type alias APIMentions

APIMentions: {
    channels?: {
        id: string;
    };
    everyone?: boolean;
    here?: boolean;
    roles?: {
        id: number;
    };
    users?: {
        id: string;
    };
}

Type declaration

  • Optional channels?: {
        id: string;
    }

    Info on mentioned channels (min items 1)

    • id: string
  • Optional everyone?: boolean

    If

    Everyone

    was mentioned

  • Optional here?: boolean

    If

    Here

    was mentioned

  • Optional roles?: {
        id: number;
    }

    Info on mentioned roles (min items 1)

    • id: number
  • Optional users?: {
        id: string;
    }

    Info on mentioned users (min items 1)

    • id: string