MBKChat icon

MBKChat

Desfrute da MbkChat_API

Chat → Send Poll

AI-generated

Summary

Send a poll to a WhatsApp group using the MBKChat API.

Inputs

  • groupId (required) — Group ID (e.g. 120363417042313103@g.us)
  • pollQuestion (required) — The poll question/header
  • pollOptions (required) — Poll options as JSON array of strings

Output shape

An array of API response objects, one per input item

May include error objects when continueOnFail is enabled; otherwise each entry contains the successful response payload.

Examples

Example 1: Add a poll to a WhatsApp group to ask members which movie to watch.

Group ID: 120363417042313103@g.us, Poll Question: "Which movie?", Poll Options: '["Action","Comedy","Drama"]'

Example 2: Create a poll about event attendance.

Group ID: 12345@g.us, Poll Question: "Will you attend?", Poll Options: '["Yes","No"]'

Links

Discussion