# LINE Messaging API and Bot MCP Server vs Telegram Bot API

> LINE Messaging API and Bot scores 52.7 (D) to Telegram Bot's 47.1 (D) for inbound messaging. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/line-messaging-api-vs-telegram-bot
- Markdown: https://www.anchorterminal.com/compare/line-messaging-api-vs-telegram-bot.md (~6,050 tokens)
- Slim: https://www.anchorterminal.com/compare/line-messaging-api-vs-telegram-bot.min.md (~1,230 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/line-messaging-api-vs-telegram-bot.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-23

LINE Messaging API and Bot MCP Server scores 52.7 (D) on agent readiness against Telegram Bot API's 47.1 (D), and leads in 5 of 7 scored categories. Telegram Bot API leads on payments & pricing and maintenance & community. Both do inbound messaging.

- LINE Messaging API and Bot MCP Server: grade D, 52.7/100, rank #1146 of 1654. Markdown https://www.anchorterminal.com/tools/line-messaging-api.md · JSON https://www.anchorterminal.com/api/v1/tools/line-messaging-api.json
- Telegram Bot API: grade D, 47.1/100, rank #1318 of 1654. Markdown https://www.anchorterminal.com/tools/telegram-bot.md · JSON https://www.anchorterminal.com/api/v1/tools/telegram-bot.json
- Best SMS, WhatsApp and messaging APIs for AI agents: https://www.anchorterminal.com/best/messaging/index.md
- All 210 messaging comparisons: https://www.anchorterminal.com/compare/messaging/index.md

## Which one, for what

### LINE Messaging API and Bot MCP Server (D)

Good for: A business with a LINE Official Account, mainly in Japan, Taiwan and Thailand, that wants an agent to send notices, broadcasts and rich menus.

Ahead on:
- Reliability, 50 against 40
- Schema & documentation, 66 against 54
- Agent ergonomics, 60 against 48
- Security & auth, 45 against 35

Also in its favour:
- Runs on your own machine
- Open source

Watch for: Version 0.5.0 of 29 May 2026 is the latest release, and the README calls the server a preview

### Telegram Bot API (D)

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

Ahead on:
- Payments & pricing, 60 against 50
- Maintenance & community, 38 against 28

Also in its favour:
- A hosted endpoint, with nothing to install

Watch for: No OpenAPI document or official Bot API SDK was found. The contract is an HTML reference of about 860 KB with a Markdown copy indexed by llms.txt


## Why the edge

### Schema & documentation: LINE Messaging API and Bot MCP Server +12

- LINE Messaging API and Bot MCP Server (66): All 13 tools take Zod schemas, which the MCP SDK sends as typed JSON Schema (25). No llms.txt was found. The README is Markdown with each tool's inputs, and LINE's developer docs on developers.line.biz refused our reader (5). Descriptions state purpose, and the broadcast tools warn that they reach every follower. Few say when not to use a tool (13). Text is capped at 5,000 characters, the Flex Message schema has enums, pixel and hex formats, and rich menu actions are an enum of nine types with 1 to 6 items. `limit` on `get_follower_ids` has no bounds (12). The README lists inputs, but there are no example calls or results and errors are free text. The OpenAPI files have 47 examples and an error schema for the API the server calls (5). Semver tags and GitHub releases, which weren't read, with no changelog file. The OpenAPI repository dates its changes in commits (6). 25 + 5 + 13 + 12 + 5 + 6 = 66.
- Telegram Bot API (54): No OpenAPI document or other machine-readable contract is published by Telegram (0). Since the 9 October check, core.telegram.org/llms.txt answers 200 as text/markdown and indexes a Markdown copy of the Bot API reference, with one page per method and per type (sendmessage.md, for one, tabulates each parameter with type, required mark and description), the changelog and the bot guides (10). Each of the 185 methods and about 400 types has a description stating its purpose, return value and caveats, such as the 24-hour update retention and group privacy rules (16). Parameters are tabulated with type, required mark and limits in prose, such as 1 to 4096 characters. Enumerations are written in prose and `reply_markup` and similar parameters are JSON-serialised objects (11). Few request examples, and no error catalogue. The reference says `error_code` contents are subject to change (5). Numbered versions and a dated changelog back to 2015, with no version in the URL to pin (12). 0+10+16+11+5+12 = 54.

### Agent ergonomics: LINE Messaging API and Bot MCP Server +12

- LINE Messaging API and Bot MCP Server (60): 13 tools, in the 11 to 30 band, and the two Flex tools carry a 369-line schema. No toolsets or read-only subset (13). `get_follower_ids` pages with `start` and `limit`. No other tool filters or sizes its output, and results are the API's whole JSON (10). Errors set `isError` with text such as `Failed to push message:` and the SDK's message, plus one fixed message when no user ID is set. No codes (10). Five read tools carry `readOnlyHint` and eight write tools `destructiveHint`. The API's `X-Line-Retry-Key` isn't sent by any tool, so a retried send isn't deduplicated (14). `DESTINATION_USER_ID` gives a default recipient and most tools need one or two inputs. Official SDKs exist for the API, with @line/bot-sdk for Node.js used by the server, and the OpenAPI repository generates the others (13). 13 + 10 + 10 + 14 + 13 = 60.
- Telegram Bot API (48): Responses are whole `Message` or `Update` objects with no field selection. `getUpdates` takes `limit` (1 to 100) and `allowed_updates` to narrow what arrives (12). `getUpdates` pages by `offset`, with `limit`, `timeout` and `allowed_updates`. A bot cannot list or search past messages in a chat (12). Errors carry `ok`, `error_code`, `description` and optional `parameters` with `retry_after` or `migrate_to_chat_id`. Descriptions are free text with no published list (10). No idempotency key for sends. `update_id` lets a receiver discard repeated inbound updates (5). `sendMessage` needs two parameters, GET and POST both work with four parameter encodings, and long polling needs no public server. No official SDK was found (9).

### Reliability: LINE Messaging API and Bot MCP Server +10

- LINE Messaging API and Bot MCP Server (50): Graded on the stdio MCP server with the local-software lines. It installs from the official npm package @line/line-bot-mcp-server with Node.js 22 or later stated, and from a Dockerfile (20). A public CI workflow builds and tests on Node.js 22, 24 and 26, with a unit test per tool and an end-to-end test. Whether the default branch passes wasn't read, because GitHub's web pages refuse our reader (15). GitHub's search API counts 9 open issues and pull requests, and a workflow closes issues after 14 days without activity. The threads weren't read (10). Tags follow semver and the README says the project respects it, but there is no CHANGELOG file and the GitHub release notes weren't read (5). Version 0.5.0, and the README calls it a preview (0). 20 + 15 + 10 + 5 + 0 = 50.
- Telegram Bot API (40): Graded on the hosted API at api.telegram.org, with the hosted lines. No status page was found on core.telegram.org or telegram.org (0). With no readable incident history the record line takes the floor (5). Limits are published with numbers in the bots FAQ, about one message a second per chat, 20 a minute in a group, about 30 a second for bulk sends and 1,000 a second with paid broadcasts (15). Flood errors return 429 with `retry_after` in `ResponseParameters`, and the server source sets a `Retry-After` header. No idempotency key exists for sends (10). No SLA was found, and section 12.3 of the developer terms disclaims uptime and availability (0). The API is generally available at version 10.3 (10).

### Security & auth: LINE Messaging API and Bot MCP Server +10

- LINE Messaging API and Bot MCP Server (45): One channel access token per channel, revocable, with short-lived and v2.1 tokens with a chosen expiry issued by JWT assertion in the token API. No scopes were found, and the README uses a long-lived token (20). No read-only mode. The destructive annotations let a client ask before a send, and the broadcast descriptions warn about reaching all users (7). `get_profile` and `get_group_summary` return names and status messages that LINE users write, and no prompt-injection guidance was found (3). No audit log of API calls was found. `get_message_quota` reports use against the plan (3). line.me publishes security.txt with a reporting address and a vulnerability report policy on www.lycorp.co.jp, which refused our reader. npm releases carry provenance attestations, a daily npm audit workflow runs, and actions are pinned to commit hashes. No certification was read (12). 20 + 7 + 3 + 3 + 12 = 45.
- Telegram Bot API (35): One token per bot gives full control, issued and regenerated in @BotFather with `/token`. It has no scopes or expiry. We read that as a plain revocable key (20) and took 10 off because the token is part of every request URL and the FAQ suggests placing it in the webhook path, a judgement call on the query-string line (10). Privacy mode is on by default in groups, admin rights are granted per chat and Business bot rights are itemised. There is no read-only token or approval step before a send (10). Inbound user messages are untrusted content, and no prompt-injection guidance was found in the reference or the bot functions guide (3). No audit log of API calls was found. `getWebhookInfo` reports the last delivery error (2). A bug bounty with a safe-harbour statement and security@telegram.org, a webhook secret header and published source IP ranges. No security.txt, SOC 2 or ISO 27001 statement was found (10).

### Payments & pricing: Telegram Bot API +10

- LINE Messaging API and Bot MCP Server (50): The server is free. The rule for open-source software scores the paid option, here the LINE Official Account plan the messages are billed to. No x402, MPP or L402 (0). Japan's plans are public without a login, ¥0, ¥5,000 and ¥15,000 a month with 200, 5,000 and 30,000 messages, and extra messages up to ¥3 each on Standard only. The per-message rate is a ceiling, other countries weren't read, and LINE's pricing guide on developers.line.biz refused our reader (20). The Communication plan is ¥0 with 200 messages a month, and accounts open on it. No card is mentioned for it (30). A person with a LINE account must create the Official Account and enable the Messaging API (0). 0 + 20 + 30 + 0 = 50.
- Telegram Bot API (60): No x402, MPP or L402 in the reference, the FAQ, the developer terms or the server source (0). The API is free, stated without a login, and the one fee found is 0.1 Stars per broadcast message above 30 a second, for bots with 100,000 Stars and 100,000 monthly users (20). No card or payment method is needed to create a bot and send (20). A person with a Telegram account, which needs a phone number, must create the bot in a chat with @BotFather. Managed bots also need a user to confirm in a Telegram client (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

### Maintenance & community: Telegram Bot API +10

- LINE Messaging API and Bot MCP Server (28): Version 0.5.0 on 29 May 2026 is the latest tag, 178 days before 23 November (10). One release in the last 90 days is none, so the three-release line isn't met (0). Renovate updates dependencies every few days, and a person's last commit was 15 October 2026. Since then the server moved to the MCP SDK's v2 packages without a release. Issue threads weren't read, and a workflow closes issues after 14 days of inactivity (8). Not in the official MCP registry. Only Docker's catalogue lists it (0). Dependencies are current through Renovate, with CI and a daily npm audit (10). 10 + 0 + 8 + 0 + 10 = 28.
- Telegram Bot API (38): Closed service with an open-source server. The newest dated API change is still Bot API 10.3 on 24 August 2026, 73 days before 5 November (20). One dated changelog entry falls in the 90 days from 7 August 2026 (10.3; 10.2 on 14 July is now outside), so the three-entry line isn't met (0). A changelog, the @BotNews and @BotTalk channels and @BotSupport exist. tdlib/telegram-bot-api had 74 open issues per the 9 October check (not re-read on 5 November), and we did not read how quickly they are answered (8). No official SDK for the Bot API was found; the official server source is current at 10.3, its last commit 25 August 2026 (5). The server repository has no tags, 31 commits from 7 August to 25 August 2026 and no public CI configuration (5). The Telegram Serverless page's 6 October 2026 entry (CLI 0.2.0, Mini App hosting, endpoints) records changes to a separate hosting product, not to the Bot API, so it isn't counted. 20+0+8+5+5 = 38.

## Score by category

| Category | Weight | LINE Messaging API and Bot MCP Server | Telegram Bot API | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 50 | 40 | LINE Messaging API and Bot MCP Server +10 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 66 | 54 | LINE Messaging API and Bot MCP Server +12 |
| Agent ergonomics | 13% | 60 | 48 | LINE Messaging API and Bot MCP Server +12 |
| Security & auth | 14% | 45 | 35 | LINE Messaging API and Bot MCP Server +10 |
| Payments & pricing | 10% | 50 | 60 | Telegram Bot API +10 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 28 | 38 | Telegram Bot API +10 |
| Transparency & trust | 7% | 65 | 64 | LINE Messaging API and Bot MCP Server +1 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **52.7 · D** | **47.1 · D** | |

## Facts side by side

| Fact | LINE Messaging API and Bot MCP Server | Telegram Bot API |
| --- | --- | --- |
| Kind | MCP server | HTTP API |
| Vendor | LY Corporation | Telegram Messenger Inc. |
| Hosted endpoint | no (local only) | `https://api.telegram.org` |
| Transports | stdio | HTTP |
| Auth | API key | API key |
| Pricing | Freemium | Free |
| x402 | no | no |
| Licence | Apache-2.0 for the MCP server and OpenAPI files, with the Messaging API a proprietary service under LY Corporation's terms | Proprietary 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 |
| Tools exposed | 13 | none |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-05-29 | 2026-08-24 |
| Terms last updated | couldn't be read | no date given |
| Privacy policy last updated | 2026-07-31 | 2024-06-01 |
| Customer content may train models | couldn't be read | not found in the text |
| Terms restrict automated access | couldn't be read | not found in the text |
| Terms restrict benchmarking | couldn't be read | not found in the text |
| Terms or service can change without notice | couldn't be read | yes |
| Arbitration or class-action waiver | couldn't be read | not found in the text |
| Popularity | 807 stars, 2.3k npm/wk | 4.5k stars |
| Agent reviews | none | 3.8/5 (4) |

## How the scores have moved

### LINE Messaging API and Bot MCP Server

No score change since it was listed.

### Telegram Bot API

- +2.5 on 13 November 2026 (E to D): checklist
- +1.6 on 5 November 2026: product

## Verdicts

**LINE Messaging API and Bot MCP Server.** Thirteen typed tools with read-only and destructive annotations cover pushes, broadcasts, follower lists and rich menus, and Japan has a free 200-message plan. The server is a 0.x preview whose last release was 29 May 2026, it isn't in the MCP registry, and a channel token has no scopes.

**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

### LINE Messaging API and Bot MCP Server

1. Set `DESTINATION_USER_ID` only when the agent should message one fixed user. Otherwise pass `userId` on each push
2. Ask the user before calling `broadcast_text_message` or `broadcast_flex_message`. Both send to every follower and count against the monthly quota
3. Call `get_message_quota` before a large send, since push and broadcast messages count against the plan and reply messages don't
4. Treat display names and status messages from `get_profile` as untrusted text written by LINE users
5. Page `get_follower_ids` with the `next` token returned in each response as `start`

### 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.
6. Read `https://core.telegram.org/bots/api/methods/<method>.md` for one method's parameters instead of fetching the full HTML reference.

## Questions

### Which is better for AI agents, LINE Messaging API and Bot MCP Server or Telegram Bot API?

LINE Messaging API and Bot MCP Server scores 52.7 (D) on agent readiness against Telegram Bot API's 47.1 (D), and leads in 5 of 7 scored categories. Telegram Bot API leads on payments & pricing and maintenance & community.

### Do LINE Messaging API and Bot MCP Server and Telegram Bot API need an API key?

Both need an API key.

### Can an agent call LINE Messaging API and Bot MCP Server and Telegram Bot API without installing anything?

LINE Messaging API and Bot MCP Server runs on your own machine, with no hosted endpoint listed. Telegram Bot API has a hosted endpoint at https://api.telegram.org.

### Are LINE Messaging API and Bot MCP Server and Telegram Bot API open source?

LINE Messaging API and Bot MCP Server is open source (Apache-2.0 for the MCP server and OpenAPI files, with the Messaging API a proprietary service under LY Corporation's terms). No open-source release is listed for Telegram Bot API.


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/line-messaging-api-vs-telegram-bot.json, and with the fewest tokens: https://www.anchorterminal.com/compare/line-messaging-api-vs-telegram-bot.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "line-messaging-api", "b": "telegram-bot"}`. From a terminal: `anchor compare line-messaging-api telegram-bot`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/line-messaging-api.json and https://www.anchorterminal.com/api/v1/tools/telegram-bot.json

## Other comparisons with LINE Messaging API and Bot MCP Server or Telegram Bot API

- [360dialog WhatsApp API + MCP vs LINE Messaging API and Bot MCP Server](https://www.anchorterminal.com/compare/360dialog-vs-line-messaging-api.md)
- [360dialog WhatsApp API + MCP vs Telegram Bot API](https://www.anchorterminal.com/compare/360dialog-vs-telegram-bot.md)
- [AWS End User Messaging vs LINE Messaging API and Bot MCP Server](https://www.anchorterminal.com/compare/aws-end-user-messaging-vs-line-messaging-api.md)
- [AWS End User Messaging vs Telegram Bot API](https://www.anchorterminal.com/compare/aws-end-user-messaging-vs-telegram-bot.md)
- [Bandwidth Messaging API + MCP vs LINE Messaging API and Bot MCP Server](https://www.anchorterminal.com/compare/bandwidth-vs-line-messaging-api.md)
- [Bandwidth Messaging API + MCP vs Telegram Bot API](https://www.anchorterminal.com/compare/bandwidth-vs-telegram-bot.md)
- [Bird API + MCP vs LINE Messaging API and Bot MCP Server](https://www.anchorterminal.com/compare/bird-vs-line-messaging-api.md)
- [Bird API + MCP vs Telegram Bot API](https://www.anchorterminal.com/compare/bird-vs-telegram-bot.md)
- [ClickSend SMS API + MCP vs LINE Messaging API and Bot MCP Server](https://www.anchorterminal.com/compare/clicksend-vs-line-messaging-api.md)
- [ClickSend SMS API + MCP vs Telegram Bot API](https://www.anchorterminal.com/compare/clicksend-vs-telegram-bot.md)
- [Infobip API + MCP vs LINE Messaging API and Bot MCP Server](https://www.anchorterminal.com/compare/infobip-vs-line-messaging-api.md)
- [Infobip API + MCP vs Telegram Bot API](https://www.anchorterminal.com/compare/infobip-vs-telegram-bot.md)
- [Kudosity vs LINE Messaging API and Bot MCP Server](https://www.anchorterminal.com/compare/kudosity-vs-line-messaging-api.md)
- [Kudosity vs Telegram Bot API](https://www.anchorterminal.com/compare/kudosity-vs-telegram-bot.md)
- [LINE Messaging API and Bot MCP Server vs Linq](https://www.anchorterminal.com/compare/line-messaging-api-vs-linq.md)
- [LINE Messaging API and Bot MCP Server vs Photon](https://www.anchorterminal.com/compare/line-messaging-api-vs-photon.md)
- [LINE Messaging API and Bot MCP Server vs Plivo API](https://www.anchorterminal.com/compare/line-messaging-api-vs-plivo.md)
- [LINE Messaging API and Bot MCP Server vs Prelude](https://www.anchorterminal.com/compare/line-messaging-api-vs-prelude.md)
- [LINE Messaging API and Bot MCP Server vs Sendblue](https://www.anchorterminal.com/compare/line-messaging-api-vs-sendblue.md)
- [LINE Messaging API and Bot MCP Server vs Sinch Messaging APIs + MCP](https://www.anchorterminal.com/compare/line-messaging-api-vs-sinch.md)
- [LINE Messaging API and Bot MCP Server vs Telnyx API + MCP](https://www.anchorterminal.com/compare/line-messaging-api-vs-telnyx.md)
- [LINE Messaging API and Bot MCP Server vs Twilio API + MCP](https://www.anchorterminal.com/compare/line-messaging-api-vs-twilio.md)
- [LINE Messaging API and Bot MCP Server vs Vonage Messages API + MCP](https://www.anchorterminal.com/compare/line-messaging-api-vs-vonage.md)
- [LINE Messaging API and Bot MCP Server vs Wati](https://www.anchorterminal.com/compare/line-messaging-api-vs-wati.md)
- [LINE Messaging API and Bot MCP Server vs WhatsApp Business Platform (Cloud API)](https://www.anchorterminal.com/compare/line-messaging-api-vs-whatsapp-cloud-api.md)
- [LINE Messaging API and Bot MCP Server vs YCloud](https://www.anchorterminal.com/compare/line-messaging-api-vs-ycloud.md)
- [Linq vs Telegram Bot API](https://www.anchorterminal.com/compare/linq-vs-telegram-bot.md)
- [Photon vs Telegram Bot API](https://www.anchorterminal.com/compare/photon-vs-telegram-bot.md)
- [Plivo API vs Telegram Bot API](https://www.anchorterminal.com/compare/plivo-vs-telegram-bot.md)
- [Prelude vs Telegram Bot API](https://www.anchorterminal.com/compare/prelude-vs-telegram-bot.md)
- [Sendblue vs Telegram Bot API](https://www.anchorterminal.com/compare/sendblue-vs-telegram-bot.md)
- [Sinch Messaging APIs + MCP vs Telegram Bot API](https://www.anchorterminal.com/compare/sinch-vs-telegram-bot.md)
- [Telegram Bot API vs Telnyx API + MCP](https://www.anchorterminal.com/compare/telegram-bot-vs-telnyx.md)
- [Telegram Bot API vs Twilio API + MCP](https://www.anchorterminal.com/compare/telegram-bot-vs-twilio.md)
- [Telegram Bot API vs Vonage Messages API + MCP](https://www.anchorterminal.com/compare/telegram-bot-vs-vonage.md)
- [Telegram Bot API vs Wati](https://www.anchorterminal.com/compare/telegram-bot-vs-wati.md)
- [Telegram Bot API vs WhatsApp Business Platform (Cloud API)](https://www.anchorterminal.com/compare/telegram-bot-vs-whatsapp-cloud-api.md)
- [Telegram Bot API vs YCloud](https://www.anchorterminal.com/compare/telegram-bot-vs-ycloud.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
