@typed-discord/interactions
    Preparing search index...

    Interface MessageComponentInteraction

    interface MessageComponentInteraction {
        app_permissions: string;
        application_id: `${bigint}`;
        attachment_size_limit: number;
        authorizing_integration_owners?: {
            "0"?: `${bigint}`;
            "1"?: `${bigint}`;
            "2"?: `${bigint}`;
        };
        channel_id: `${bigint}`;
        data: MessageComponentInteractionData;
        entitlements?: EntitlementResponse[];
        id: `${bigint}`;
        locale: AvailableLocalesEnum;
        message: MessageResponse;
        token: string;
        type: MESSAGE_COMPONENT;
    }

    Hierarchy

    • BaseInteraction
      • MessageComponentInteraction
    Index

    Properties

    app_permissions: string

    Bitwise set of permissions the app has in the source location of the interaction.

    application_id: `${bigint}`

    ID of the application this interaction is for.

    attachment_size_limit: number

    MessageAttachmentResponse size limit in bytes.

    authorizing_integration_owners?: {
        "0"?: `${bigint}`;
        "1"?: `${bigint}`;
        "2"?: `${bigint}`;
    }

    Mapping of installation contexts that the interaction was authorized for to related user or guild IDs.

    Type Declaration

    • Optional0?: `${bigint}`

      This command can be used within a Guild.

    • Optional1?: `${bigint}`

      This command can be used within a DM with this application's bot.

    • Optional2?: `${bigint}`

      This command can be used within DMs and Group DMs with users.

    channel_id: `${bigint}`

    Channel that the interaction was sent from.

    entitlements?: EntitlementResponse[]

    For monetized apps, any entitlements for the invoking user, representing access to premium SKUs.

    id: `${bigint}`

    ID of the interaction.

    locale: AvailableLocalesEnum

    Selected language of the invoking user.

    message: MessageResponse

    For components or modals triggered by components, the message they were attached to.

    token: string

    Continuation token for responding to the interaction.

    type: MESSAGE_COMPONENT

    Type of interaction.