Endpoint referenceBot
/bot/telegram
Serves the webhook.
Serves the webhook.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/v2/bot/telegram" \ -H "Content-Type: application/json" \ -d '{ "message": { "chat": { "id": 0, "type": "string" }, "message_id": 0, "text": "string" }, "update_id": 0 }'{ "$schema": "https://example.com/schemas/BotTelegramOKBody.json", "message": "string", "ok": true, "test": true}