Ban method

With this method you can ban an user from a specified group. In case of a valid response, you'll obtain a request id that you can use to obtain the result of the command by using the request method.

Who can use this method: group staff

What parameters does this method need?

Name Description
key Your API Key (obtainable through the reqapikey command)
chat_id The chat_id of a group
user_id The user_id of an user


Back to API documentation

Back to documentation index