OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions138

Message → Send Sticker

AI-generated

Summary

Sends a WhatsApp sticker to a chat from a selected session. Choose a sticker source—URL, base64 data, or an incoming binary property—and optionally quote an earlier message.

Inputs

  • Session Name or ID (required) — Session to send the sticker from; select a session or provide its ID.
  • Chat Name or ID (required) — Recipient chat ID, such as a personal chat ending in @c.us or a group ending in @g.us.
  • Sticker Source — Choose URL, Base64, or Binary Data. Defaults to URL.
  • Sticker URL (required) — Shown for URL source. URL of the sticker image; WhatsApp expects WebP.
  • Base64 Data (required) — Shown for Base64 source. Base64-encoded sticker data.
  • MIME Type (required) — Shown for Base64 source. MIME type of the actual data. OpenWA converts PNG or JPEG to WebP, but data declared as image/webp skips conversion.
  • Binary Property (required) — Shown for Binary Data source. Name of the incoming binary property containing the sticker; WebP at 512×512 is recommended.
  • Quoted Message ID — Optionally quote an earlier message in the recipient chat. An ID the engine cannot resolve causes the send to fail; Baileys can quote only messages it has stored.
  • Mentions — Optional WhatsApp IDs to mention, provided as a comma-separated list, JSON array, or expression resolving to an array. The message or caption must contain a matching @-mention token for it to render.

Output shape

A single item containing the API response.

The selected sticker source is sent as media; binary data uses the configured binary property, while base64 data includes a MIME type. The source notes that the sticker send ignores caption and mentions in the engine, so mentions may not appear on the sticker.

Links

Discussion