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.
Parameters
messageID: string
Returns
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
}