Zalo User Interact icon

Zalo User Interact

Gửi tin nhắn và tương tác với Zalo User

Actions133

Group → Create Poll

AI-generated

Summary

Creates a poll within a specified Zalo group with configurable options, expiration, and voting settings.

Inputs

  • Group Id (required) — ID của nhóm Zalo.
  • Poll Question (required) — Câu hỏi cho bình chọn.
  • Poll Options (required) — Các lựa chọn cho bình chọn, cách nhau bởi dấu phẩy.
  • Poll Expired Time (ms) — Thời gian hết hạn bình chọn (ms, 0 là không hết hạn).
  • Allow Multiple Choices — Cho phép chọn nhiều lựa chọn.
  • Allow Add New Option — Cho phép thành viên thêm lựa chọn mới.
  • Hide Vote Preview — Ẩn kết quả bình chọn cho đến khi người dùng đã bình chọn.
  • Anonymous Poll — Ẩn danh người bình chọn.
  • Pin Poll — Ghim bình chọn trong nhóm.

Output shape

No body — success/failure only

Returns a success status or error if the group ID or poll details are invalid.

Examples

Example 1: Create a standard poll with multiple choices

Group Id: 123, Poll Question: Choose a color, Poll Options: Red,Blue,Green, Allow Multiple Choices: true

Example 2: Create an anonymous poll that expires in 24 hours

Group Id: 123, Poll Question: Who is coming?, Poll Options: Yes,No,Maybe, Poll Expired Time (ms): 86400000, Anonymous Poll: true

Links

Discussion