Interface CommandInfoMessageInternal

Typings for a command initiated by a message context menu action.

interface CommandInfoMessage {
    type: Message;
    name: string | Locales;
    owners_only?: boolean;
    nsfw?: boolean;
    integration_types?: ApplicationIntegrationType[];
    contexts?: InteractionContextType[];
}

Hierarchy (View Summary)

Properties

type: Message
name: string | Locales
owners_only?: boolean
false
nsfw?: boolean
false
integration_types?: ApplicationIntegrationType[]