Telegram Bot API

API

HTTP API for building bots that send and receive Telegram messages

Fiyat
Free, paid broadcasts above 30/sec
Erişim
Bot token

Hakkında

Telegram's official HTTP interface for bots, which you create and manage through @BotFather. Bots message users at no cost up to about 30 messages per second; faster broadcasts cost Telegram Stars. An open-source local server raises the upload limit to 2,000 MB.

Neler yapabilirsin

  • Send alerts and messages to a Telegram chat, group or channel
  • Build a chatbot that replies to commands and inline buttons
  • Receive user messages through webhooks or long polling

Başlarken

  1. Create a bot with @BotFather and copy its token
  2. Message your bot, then read your chat ID from getUpdates

Örnek kod

curl "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage" \
  -d chat_id=$TELEGRAM_CHAT_ID \
  -d text="Hello from my bot"

Ayrıntılar

Barındırma
Hazır hizmet (bulut), Kendi sunucunda
Kullanılabildiği yerler
Tüm dünya
MCP sunucusu
Yok
Entegrasyonlar
Telegram

Görevler

Alternatifler

Aynı görevler için başka araçlar.

Son kontrol: .