Introduction
This API endpoint will vote on upcoming vote polls in chat or channel
Endpoint
Method: POST
URL: /auto-poll-vote
Request Body
folder
(String, required): The folder containing the accounts to be checked for spambots.phones
(List, required): The list of phones to be checkedchat_usernames
(String, optional): Channel or Chat usernamesvoting_index
(required): Provide poll int(number) or add random(str)
Example Request Body
{
"folder": "active",
"phones": ["123456789", "123456780"],
"chat_usernames": ["chat0", "chat1"],
"voting_index": 1 | "random"
}
Example Response
- Stream Text
{
"123456798": 0,
"2135467890": 100
}