Check Fetch channel and group ownership Documentation
Introduction
The fetch-owned-channels API endpoint allows clients to get owned channels or groups
Endpoint
Method: POST
URL: /fetch-owned-channels
Request Body
folder
(String, required): The folder containing the accounts.phones
(List, required): The list of phones to be checked
Example Request Body
{
"folder": "active",
"phones": ["123456789", "123456780"],
}
Example Response
- Stream Text
{"return": {"processed_groups_channels": [{"phone": "84523786239", "owned_channels_groups": [{"id": 1109500936, "title": "Telethon Chat"}, {"id": 1579253344, "title": "JP INVESTMENT"}]}]}}