Warn method

With this method you can warn an user in 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

Examples

https://api.carabinie.re/warn?key=yourAPIKey&chat_id=-1001234567890&user_id=123456789
https://api.carabinie.re/?method=warn&key=yourAPIKey&chat_id=-1001234567890&user_id=123456789

Back to API documentation

Back to documentation index