Check Create private or public channel Documentation

    Introduction

    The delete-dialogue-by-limit API endpoint allows clients to delete dialogues from groups or channels

    Endpoint

    Method: POST
    URL: /delete-dialogue-by-limit

    Request Body

    • folder (String, required): The folder containing the accounts.
    • phones (List, required): The list of phones to be checked
    • limit (int, required): No of messages to delete

    Example Request Body

    {
        "folder": "active",
        "phones": ["123456789", "123456780"],
        "limit": 100,
    }
    

    Example Response

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