Skip to main content
Module

x/discord_api_types/utils/v10.ts>isMessageComponentButtonInteraction

Up to date Discord API Typings, versioned by the API version
Go to Latest
function isMessageComponentButtonInteraction
import { isMessageComponentButtonInteraction } from "https://deno.land/x/discord_api_types@0.37.2/utils/v10.ts";

A type-guard check for button message component interactions

Parameters

The message component interaction to check against

Returns

A boolean that indicates if the message component is a button