multi Function Documentation
Introduction
The multi
function handles a web request to process multiple tasks asynchronously based on the provided configuration.
Endpoint
Method: POST
URL: /multi
Request Body
The function expects a JSON object in the request body with the following parameters:
folder
(Required): Specifies the folder name where account files are stored.phones
(Required): Specifies a list of phone numbers.data
: Contains task data in the form of function names mapped to their respective data.
Example Request Body
{
"folder": "active",
"phones": ["1234567890", "9876543210"],
"data": {
"profile_hide_number":{
"hide_number": true | false
},
"check_spambot":{
},
"profile_remover":{
"remove_profile": true | false,
"count": 1, // "all"
},
}
}
below are the availble features for multi endpoint
{
"folder": "active",
"phones": ["1234567890", "9876543210"],
"data": {
"profile_hide_number":{
// docs/account-management/profile-hide-number.md
},
"no_invite":{
// docs\account-management\profile-no-invitor.md
},
"profile_remover":{
// docs\account-management\profile-remover-pic.md
},
"profile_uploader":{
// docs\account-management\profile-pic-upload.md
},
"two_factor_authenticator":{
// docs\account-management\profile-2fa-change.md
},
"username_changer":{
// docs\account-management\profile-username-change.md
},
"name_and_bio_changer":{
// docs\account-management\profile-name-bio-change.md
},
"bio_changer":{
// docs\account-management\profile-bio-change.md
},
"check_proxy_status": {
// docs\proxy-endpoints\check-proxy-status.md
},
"joined_groups": {
// docs\chats-endpoints\get-groups-channels.md
},
"audience_by_messages": {
// docs\chats-endpoints\audience_by_messages.md
},
"collect_audiance": {
// docs\chats-endpoints\collect_audience.md
},
"check_spambot": {
// docs\account-management\check-spambot.md
},
"terminate_sessions": {
// docs\account-management\terminate-sessions.md
},
"change_online_status": {
// docs\account-management\change-online-status.md
},
"delete_contacts": {
// docs/account-management/delete-contacts.md
},
"delete_dialogue": {
// docs\chats-endpoints\delete-dialogue.md
},
"change_sex": {
// check implementation of /change-sex endpoint
},
"change_self_destruction": {
// docs\account-management\change-self-destruction.md
},
"account_age": {
// docs\account-management\account-age-finder.md
},
}
}