- Telegram bot (long polling) - /api/v1/auth/telegram (validate initData, auto-create user) - /api/v1/auth/consents (record acceptances) - users.telegram_id column, GetByTelegramID/CreateWithTelegramID - ValidateInitData (HMAC-SHA256 with WebAppData secret) |
||
|---|---|---|
| .. | ||
| 0001_init.down.sql | ||
| 0001_init.up.sql | ||
| 0002_user_prefs.down.sql | ||
| 0002_user_prefs.up.sql | ||
| 0003_chat.down.sql | ||
| 0003_chat.up.sql | ||
| 0004_reviews.down.sql | ||
| 0004_reviews.up.sql | ||
| 0005_telegram.down.sql | ||
| 0005_telegram.up.sql | ||