Introduction

    This function increments the poll count of specific posts in a Telegram chat.

    Endpoint

    Method: POST
    URL: /add-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 checked
    • chat (String, optional): Channel Name
    • limit (int, optional): limit to iter messages
    • message_links (List, optional): provide message links only
    • voting_index (required): Provide poll int(number) or add random(str)
    {
        "folder": "active",
        "phones": ["123456789", "123456780"],
        "message_links": [
            "https://t.me/vottingchannel123/15",
             "https://t.me/vottingchannel123/6"
            ],
        "voting_index": 1 | "random"
    }
    

    Example Request Body for limit and chat

    {
        "folder": "active",
        "phones": ["123456789", "123456780"],
        "chat": "example",
        "limit": 100,
        "voting_index": 1 | "random"
    }
    

    Example Response

    • Stream Text
    {
        "123456798": 0,
        "2135467890": 100
    }