Skip to content
Download Beeper

Remove a reaction

client.chats.messages.reactions.delete(stringmessageID, ReactionDeleteParams { chatID, reactionKey } params, RequestOptionsoptions?): ReactionDeleteResponse { chatID, messageID, reactionKey, success }
DELETE/v1/chats/{chatID}/messages/{messageID}/reactions

Remove the authenticated user's reaction from an existing message.

ParametersExpand Collapse
messageID: string
params: ReactionDeleteParams { chatID, reactionKey }
chatID: string

Path param: Unique identifier of the chat.

reactionKey: string

Query param: Reaction key to remove

minLength1
ReturnsExpand Collapse
ReactionDeleteResponse { chatID, messageID, reactionKey, success }
chatID: string

Unique identifier of the chat.

messageID: string

Message ID.

reactionKey: string

Reaction key that was removed

success: true

Whether the reaction was successfully removed

Remove a reaction

import BeeperDesktop from '@beeper/desktop-api';

const client = new BeeperDesktop();

const reaction = await client.chats.messages.reactions.delete('messageID', {
  chatID: '!NCdzlIaMjZUmvmvyHU:beeper.com',
  reactionKey: 'x',
});

console.log(reaction.chatID);
{
  "chatID": "!signal_adamvy:local-signal.localhost",
  "messageID": "1343993",
  "reactionKey": "❤️",
  "success": true
}
Returns Examples
{
  "chatID": "!signal_adamvy:local-signal.localhost",
  "messageID": "1343993",
  "reactionKey": "❤️",
  "success": true
}