powered by
Sends an emoji reaction to an existing message.
send_reaction(client, key, reaction, verbose = FALSE)
A named list with the API response. The HTTP status code is stored in attr(result, "http_status").
attr(result, "http_status")
An evo_client() object.
evo_client()
List with remoteJid, fromMe, and id identifying the target message.
remoteJid
fromMe
id
Emoji string (e.g., "\U0001f44d" for thumbs up). Use an empty string "" to remove a reaction.
"\U0001f44d"
""
Logical. If TRUE, logs request/response details with cli.
TRUE
if (FALSE) { send_reaction(client, key = list( remoteJid = "5581999990000@s.whatsapp.net", fromMe = TRUE, id = "BAE594145F4C59B4" ), reaction = "\U0001f44d") }
Run the code above in your browser using DataLab