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

MethodDescriptionVerb
sendMessageSend a text messagePOST
sendPhotoSend an imagePOST
getUpdatesPoll for new eventsGET
setWebhookRegister a callback URLPOST
getChatMemberLook up a memberGET

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 ok field 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