Add user creation functionality and update commands in main.go and README.md
Publish telemt-bot Docker image / build-and-push (push) Successful in 52s
Publish telemt-bot Docker image / build-and-push (push) Successful in 52s
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
- `/health` -> `GET /v1/health`
|
||||
- `/summary` -> `GET /v1/stats/summary`
|
||||
- `/users` -> `GET /v1/stats/users` (первые 20 строк)
|
||||
- `/create_user <username>` -> `POST /v1/users` (создание пользователя + ссылки на подключение)
|
||||
|
||||
Команды обрабатываются только от одного админ-чата (`TELEGRAM_ADMIN_CHAT_ID`).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user