Learn R Programming

evolution (version 0.0.1)

send_buttons: Send Buttons

Description

Send Buttons

Usage

send_buttons(
  client,
  number,
  title,
  description,
  footer,
  buttons,
  delay = NULL,
  link_preview = NULL,
  mentions_everyone = NULL,
  verbose = FALSE
)

Value

A named list parsed from the Evolution API JSON response, with metadata describing the button message (IDs, timestamps, queue details, and button structure as accepted by the server). Note: Buttons may be discontinued on Baileys mode; supported on Cloud API. The HTTP status code is stored in attr(result, "http_status"). This output reflects the server acknowledgement of the button message send.

Arguments

client

An evo_client() object.

number

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

title, description, footer

Character.

buttons

List of buttons (see API docs).

delay

Integer (ms). Optional presence delay before sending.

link_preview

Logical. Enable URL link preview.

mentions_everyone

Logical. Mention everyone (if applicable).

verbose

Logical. If TRUE, logs request/response details.

Details

Buttons may be discontinued on Baileys mode; supported on Cloud API.