isInteractionButton
Callable
Parameters
component: APIButtonComponent
The button to check against
Returns component is APIButtonComponentWithCustomId
A boolean that indicates if the button has a
custom_idattached to it
The button to check against
A boolean that indicates if the button has a custom_id attached to it
A type-guard check for buttons that have a
custom_idattached to them.API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.