Check Only Login API Documentation
Introduction
It will get group info first than after getting group ids we can collect participants
Endpoint
Method: POST
URL: /joined-groups
\ first use this url to get group info
Request Body for url: /joined-groups
folder
(String, required): The folder containing the accounts to be used for data.phones
(List, required): The list of phones to be checkedgroup_users
(Bool, Optional): it allows users to get the group and there participants.channel_users
(Bool, Optional): it allows users to get the channel and there participants.save_text
(Bool, Optional): it allows users to save in txt also.
Example Request Body for /joined-groups
{
"folder": "active",
"phones": ["123456789", "123456780"],
"group_users" : true/false,
"channel_users" : true/false,
"save_text" : true/false
}
Example Response for /joined-groups
- Stream Text
{"return": {"chats": [{"phone": "84523786239", "chat_elements": [{"id": 1109500936, "title": "Telethon Chat", "participants_count": 5630}, {"id": 1579253344, "title": "JP INVESTMENT", "participants_count": 1096}]}, {"phone": "84523786659", "chat_elements": [{"id": 1109500936, "title": "Telethon Chat", "participants_count": 5632}, {"id": 1579253344, "title": "JP INVESTMENT", "participants_count": 1096}]}], "channels": [{"phone": "84523786239", "channel_elements": []}, {"phone": "84523786659", "channel_elements": []}]}} ok