Delete Dialogue API Documentation

    Introduction

    The delete_dialogue API allows clients to leave and delete groups from telegram platform using multiple accounts concurrently.

    Endpoint

    Method: POST
    URL: /delete-dialogue

    Request Body

    The request body should be a JSON object with the following parameters:

    • folder (string, required): The folder name where the account JSON files are stored.
    • ignore_chats (list of integers, optional): IDs of chats to ignore during leaving.
    • unsubscribe (list of integers, optional): IDs of chats to unsubscribe during deleting.

    Example request body:

    {
        "folder": "active",
        "ignore_chats": [
            1373630851
        ],
        "unsubscribe": [
            1373630851
        ]
    
    }