async function deleteSlashResponse(
  token,
  messageId,
) {
  return await rest.runMethod(
    "delete",
    messageId
      ? endpoints.INTERACTION_ID_TOKEN_MESSAGE_ID(
        applicationId,
        token,
        messageId,
      )
      : endpoints.INTERACTION_ORIGINAL_ID_TOKEN(applicationId, token),
  );
}
/** To delete your response to a slash command. If a message id is not provided, it will default to deleting the original response. */
To delete your response to a slash command. If a message id is not provided, it will default to deleting the original response.
To delete your response to a slash command . If a message id is not provided it will default to deleting the original response .
async function deleteSlashResponse(
  token,
  messageId,
) {
  return await rest.runMethod(
    "delete",
    messageId
      ? endpoints.INTERACTION_ID_TOKEN_MESSAGE_ID(
        applicationId,
        token,
        messageId,
      )
      : endpoints.INTERACTION_ORIGINAL_ID_TOKEN(applicationId, token),
  );
}
async function deleteSlashResponse ( token , messageId , ) { return await rest . runMethod ( "delete" , messageId ? endpoints . INTERACTION_ID_TOKEN_MESSAGE_ID ( applicationId , token , messageId , ) : endpoints . INTERACTION_ORIGINAL_ID_TOKEN ( applicationId , token ) , ) ; }
To delete your response to a slash command.
To delete your response to a slash command .