pip install UsergeAntiSpamApi
You can read our Documention on https://docs.userge.tk
from UsergeAntiSpamApi import Client
API_KEY = "Your_API_KEY"
client = Client(API_KEY)
Parameter | description |
---|---|
api_key |
Your API KEY |
print(client.getban(777000))
Parameter | description |
---|---|
user_id |
Id of Telegram User. |
print(client.getbans())
Admin
Read more about Bans from here
To get your own token, go to @UsergeFedBot and create one.
print(client.get_me())
client.delete_my_token()
Read more about Tokens from here
print(client.get_version())
print(client.get_api_stats())
Copyright (C) 2021 by UsergeTeam@Github, < https://github.com/UsergeTeam >.
This project is part of < https://github.com/UsergeTeam > project, and is released under the "GNU v3.0 License Agreement". Please see < https://github.com/UsergeTeam/Userge-Federation/blob/master/LICENSE >
All rights reserved.