Skip to main content
Module

x/discord_api_types/v8.ts>Utils.isMessageComponentDMInteraction

Up to date Discord API Typings, versioned by the API version
Go to Latest
function Utils.isMessageComponentDMInteraction
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { Utils } from "https://deno.land/x/discord_api_types@0.37.11/v8.ts";
const { isMessageComponentDMInteraction } = Utils;

A type-guard check for DM message component interactions

Parameters

The message component interaction to check against

Returns

A boolean that indicates if the message component interaction was received in a DM channel