ConsumeTelegramStateEndpoint

Потребляет state и привязывает Telegram к пользователю

Для Telegram-бота. Требуется заголовок X-Bot-Token. Тело: { state, telegramId, telegramUsername }.

post/api/auth/telegram/consume

Request body

statestring nullable
telegramIdinteger
telegramUsernamestring nullable

Response

OK

Changes

No recorded changes to this endpoint across all 1 revision of this API.