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

This commit is contained in:
Denozordec
2026-03-09 16:44:49 +07:00
parent 43bb8e4f4c
commit 0c93077030
2 changed files with 113 additions and 8 deletions
+1
View File
@@ -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`).