Deprecated
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.
import { isMessageComponentDMInteraction } from "https://deno.land/x/discord_api_types@0.37.65/utils/v8.ts";
A type-guard check for DM message component interactions
Parameters
interaction: APIMessageComponentInteraction
The message component interaction to check against
Returns
interaction is APIMessageComponentDMInteraction
A boolean that indicates if the message component interaction was received in a DM channel