Learn R Programming

evolution (version 0.0.1)

send_sticker: Send a sticker

Description

Send a sticker

Usage

send_sticker(client, number, sticker, delay = NULL, verbose = FALSE)

Value

A named list parsed from the Evolution API JSON response, containing identifiers and metadata about the sticker message. The HTTP status code is stored in attr(result, "http_status"). This output confirms the sticker was accepted and queued/sent by the server.

Arguments

client

An evo_client() object.

number

Character. Recipient in E.164 format (e.g., "+5581999...").

sticker

URL or base64 image.

delay

Integer (ms). Optional presence delay before sending.

verbose

Logical. If TRUE, logs request/response details.