Skip to content

Send a WhatsApp Status (story)

Usage

send_status(
  client,
  type = c("text", "image", "video", "document", "audio"),
  content,
  caption = NULL,
  background_color = NULL,
  font = NULL,
  all_contacts = FALSE,
  status_jid_list = NULL,
  verbose = FALSE
)

Arguments

client

An evo_client() object.

type

One of "text", "image", "video", "document", "audio".

content

Text (for type = "text") or URL/base64 for media.

caption

Optional caption for media.

background_color

Hex color for text status background.

font

Integer font id.

all_contacts

Logical. Send to all contacts.

status_jid_list

Optional character vector of JIDs.

verbose

Logical. If TRUE, logs request/response details with cli and enables req_verbose().