API Reference

📊 Send poll message

In this method, you can send poll-type messages. Often, it's the polls that replace the buttons for interactive communication

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Body Params

Message poll

string
required

Use the phone number or Chat ID of the contact/group/channel to which you want to send the message. Use Get groups to get the group ID.

string

Message ID of the message to be quoted

integer
1 to 604800

Time in seconds for the message to be deleted. The Disappearing messages setting should be enabled in the chat where you are sending this message.

string

Message ID of the message to be edited

string
required

Title of poll

array of strings
required
length between 2 and 12

Options of poll

options*
integer
0 to 1

Number of selectable options in poll (1 - can choose only one option, 0 - any number of options)

boolean

Is view once

Responses

Language
Credentials
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json