1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-26 05:37:27 +02:00
Vitaly the Alpaca (bot) ab33d2f19d Main build (Jenkins)
2024-09-17 12:29:46 +03:00

1.1 KiB

sidebar_position
1

Remove chat members

Removes users from the chat

Function RemoveChatMembers(Val Token, Val ChatID, Val Users) Export

Parameter CLI option Type Description
Token --token String Bot token
ChatID --chatid String, Number Chat ID
Users --members String, Number, Array of String, Number The member or members of the chat room to remove

Returns: Map Of KeyAndValue - Serialized JSON response from VK Teams


:::tip Method at API documentation: GET /chats/members/delete :::

    Token  = FunctionParameters["VkTeams_Token"];
    ChatID = FunctionParameters["VkTeams_ChatID2"];
    User   = 1011987091;

    Result = OPI_VKTeams.RemoveChatMembers(Token, ChatID, User);
    
  oint vkteams RemoveChatMembers --token %token% --chatid %chatid% --members %members%

{
 "ok": true
}