Automated scraper for the Telegram Bot API. Parses the official docs and stores structured data as JSON.
// readme
telegram-api-data
Automated scraper for the Telegram Bot API. Parses the official docs and stores structured data as JSON — used by laraXgram/laraquest to generate PHP code.
How it works
- GitHub Actions fetches
core.telegram.org/bots/api - Parses all methods and types from the HTML
- Saves
telegram-api.jsonand commits it to this repo - Laraquest fetches the JSON from raw content and generates PHP files
JSON structure
{
"scraped_at": "2026-06-07T00:00:00+00:00",
"version": "10.0",
"source": "https://core.telegram.org/bots/api",
"methods": {
"sendMessage": {
"name": "sendMessage",
"description": "...",
"parameters": [
{ "name": "chat_id", "type": "Integer or String", "required": true, "description": "..." }
]
}
},
"types": {
"Message": {
"name": "Message",
"description": "...",
"fields": [
{ "name": "message_id", "type": "Integer", "description": "..." }
]
}
}
}
Schedule
Runs automatically every 24 hours at 00:00 UTC via GitHub Actions.
Raw content URL