Telegram webhook
POST/wp-json/wp2tutor-bot/telegram/v1/webhook/:bot_id
Inbound Telegram webhook: checks the channel secret-token, parses the update, replies via AnswerService. Public URL; the secret is in the Telegram header, not the query string.
Request
Responses
- 200
- 400
- 403
- 404
- 500
OK
token_missing
secret_required / forbidden
bot_not_found
telegram_api_error