Open API
Build auto-replies, alerts and business integrations with the Bot API — your first call takes minutes.
Quick start
Request a token from the bot console, then send your first message.
curl -X POST \
"https://api.tlgrem.com/bot<TOKEN>/sendMessage" \
-H "Content-Type: application/json" \
-d '{"chat_id": 123456789, "text": "Hello from Telegram Bot API"}'Common methods
| Method | Description | Verb |
|---|---|---|
sendMessage | Send a text message | POST |
sendPhoto | Send an image | POST |
getUpdates | Poll for new events | GET |
setWebhook | Register a callback URL | POST |
getChatMember | Look up a member | GET |
Developer notes
- A bot may send roughly 30 messages per second; throttle and retry on bulk sends.
- Webhooks require an HTTPS endpoint with a valid certificate.
- Treat tokens as secrets and keep them in server-side environment variables.
- All responses are JSON; check the
okfield for success.
Get started with Telegram
Free on every platform, no ads and no subscription wall. Install in minutes and your chats follow you.
Free Download