Learn R Programming

evolution (version 0.0.1)

send_reaction: React to a message

Description

React to a message

Usage

send_reaction(client, key, reaction, verbose = FALSE)

Value

A named list parsed from the JSON response of the Evolution API. Typical fields include message identifiers and acknowledgement metadata. The HTTP status code is stored in attr(result, "http_status"). This return value indicates that the reaction was successfully sent.

Arguments

client

An evo_client() object.

key

List with remoteJid, fromMe, id of the target message.

reaction

Emoji like "\xF0\x9F\x98\x81".

verbose

Logical. If TRUE, logs request/response details.