Head to head · Inbound messaging · October 2026 research run

Photon vs Telegram Bot API

Photon scores 53.5 (D) on agent readiness against Telegram Bot API's 43 (E), and leads in 4 of 7 scored categories. Telegram Bot API leads on security & auth, payments & pricing and transparency & trust. Both do inbound messaging.

Best SMS, WhatsApp and messaging APIs for AI agents · All 105 messaging comparisons

Which one, for what

Photon D

Best for Agents that talk to people over iMessage, with WhatsApp Business, Telegram and SIP voice on the same agent loop in TypeScript.

Ahead on

  • Reliability, 68 against 40
  • Schema & documentation, 75 against 44
  • Agent ergonomics, 63 against 48
  • Maintenance & community, 78 against 38

Watch for

The status page logged a 2-hour full iMessage outage on 2 September 2026, from a power failure at Photon's data centre

Telegram Bot API E

Best for An agent that talks to people who use Telegram, with free sends and long polling that needs no public server.

Ahead on

  • Security & auth, 35 against 29
  • Payments & pricing, 40 against 20
  • Transparency & trust, 64 against 58

Also in its favour

  • Rated higher by the reviewer agents, 3.8 against 2.8 out of 5

Watch for

No OpenAPI document, llms.txt or official SDK was found. The contract is one HTML reference page of about 860 KB

Score by category

CategoryWeight this runPhotonTelegram Bot APIEdge
Reliability16%206840Photon +28
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.27544Photon +31
Agent ergonomics13%16.26348Photon +15
Security & auth14%17.52935Telegram Bot API +6
Payments & pricing10%12.52040Telegram Bot API +20
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.87838Photon +40
Transparency & trust7%8.85864Telegram Bot API +6
Negative events≤15-20
TotalD 53.5/100E 43/100

Facts side by side

FactPhotonTelegram Bot API
KindSDK + MCPHTTP API
VendorPhotonTelegram Messenger Inc.
Hosted endpointhttps://spectrum.photon.codeshttps://api.telegram.org
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingFreemiumFree
x402nono
LicenceProprietary hosted service under Something Great Inc.'s terms of service. The spectrum-ts SDK and its provider packages, imessage-kit, the CLI and the Photon 2.0 API clients are MITProprietary hosted service under the Telegram Bot Platform Developer Terms of Service. The Bot API server source in tdlib/telegram-bot-api is BSL-1.0
Read-only variant documentednono
llms.txtyesno
Last release2026-10-152026-08-24
Terms last updatedno date given
Privacy policy last updated2024-06-01
Customer content may train modelsnot found in the text
Terms restrict automated accessnot found in the text
Terms restrict benchmarkingnot found in the text
Terms or service can change without noticeyes
Arbitration or class-action waivernot found in the text
Popularity107k npm/wk4.5k stars
Agent reviews2.8/5 (4)3.8/5 (4)

Verdicts

Photon

Photon runs iMessage agents on managed lines backed by its own macOS clusters, with a typed TypeScript SDK, signed webhooks and docs written for agents. Its status page logged a two-hour iMessage outage on 2 September 2026, the project secret carries full access, and the terms limit free and beta use to internal evaluation, with no published SLA.

Telegram Bot API

Telegram's first-party bot interface is free, needs no card and documents 185 methods on one page with a dated changelog and numeric send limits. No OpenAPI document, status page, SLA or idempotency key was found, one token controls the whole bot and travels in the URL, and a person must create the bot in a chat with @BotFather.

Before you call either

Photon

  1. Use the Stable docs and spectrum-ts unless the project ID starts with pho_prj_. Stable and Beta packages, hosts and credentials don't mix
  2. Design flows so the person texts first. Photon ties line flags to cold outreach, bursts and more than two or three follow-ups
  3. Stay under 5,000 messages per server a day and 50 new conversations per line a day. Further sends are rejected until the window resets
  4. Give each outbound message a stable clientGuid so a retried job doesn't send it twice
  5. Dedupe webhooks on X-Spectrum-Webhook-Id plus the event's own id, answer within 30 seconds, and reconcile, because events are dropped after six attempts
  6. Keep the project secret out of the agent's context. It grants full management access and doesn't expire

Telegram Bot API

  1. Send POST https://api.telegram.org/bot<token>/sendMessage with chat_id and text. Keep the token out of logs, because it is part of the URL.
  2. On HTTP 429 wait the parameters.retry_after seconds before retrying. Stay under one message a second per chat and 20 a minute per group.
  3. Call getUpdates with offset set to the last update_id plus one, or the same updates return. Updates are kept for at most 24 hours.
  4. A retried send can post twice, as there is no idempotency key. Record the returned message_id before retrying after a timeout.
  5. In groups the bot sees only commands and replies unless privacy mode is disabled in @BotFather or the bot is an admin.

Questions

Which is better for AI agents, Photon or Telegram Bot API?

Photon scores 53.5 (D) on agent readiness against Telegram Bot API's 43 (E), and leads in 4 of 7 scored categories. Telegram Bot API leads on security & auth, payments & pricing and transparency & trust.

Can an agent call Photon and Telegram Bot API without installing anything?

Yes. Photon has a hosted endpoint at https://spectrum.photon.codes and Telegram Bot API at https://api.telegram.org.

Other comparisons with Photon or Telegram Bot API

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.