Skip to content

Function: reactToMessage() ​

ts
function reactToMessage(
   client, 
   threadId, 
   itemId, 
   options?
): Promise<void>;

Adds, or removes, an emoji reaction on a message of a thread.

Parameters ​

ParameterType
clientPrivateClient
threadIdstring
itemIdstring
options?ReactionOptions

Returns ​

Promise<void>

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.