Telegram
Connects with a BotFather bot token and target channel or chat ID.
Connection note
Create a bot with @BotFather, add it as an administrator to your channel or group, then enter its bot token and target chat ID.
Specification summary
- Text limit
- 4,096 charactersUTF-16 code units
- Media attachments
- up to 10 images, up to 10 videos, up to 10 documents (mixed kinds allowed)
- Threads and parts
- Threaded reply chain (up to 15 parts)
- Authentication
- Bot tokenNo shared central platform app required.
- Approvals and autonomy
- Starts on Approve everything; ceiling on_the_loop (no unsupervised auto-publish)Default publish:
in_the_loop· Ceiling:on_the_loop - Analytics and API cost
- Allowed for analytics and learningIncluded (no per-call platform API surcharge)
Authentication and token lifecycle
Credentials are encrypted at rest and scoped to the connected channel. You can revoke and scrub stored tokens immediately via POST /v2/channels/disconnect or from the web app; see Data deletion for full revocation and deletion details.
| Variant | Flow | Refresh policy | Platform scopes |
|---|---|---|---|
| Connect with Bot Token | Bot token | none | None declared |
Content and media constraints
Editor mode: plaintext. Minimum text length: 0. Polls: not supported. AI content disclosure: no API disclosure field.
| Kind | Accepted MIME types | Max count | Max file size | Additional bounds |
|---|---|---|---|---|
image | image/jpegimage/pngimage/webpimage/gif | 10 | 10 MiB | None |
video | video/mp4 | 10 | 50 MiB | None |
document | application/pdf | 10 | 50 MiB | None |
Guardrails, rate limits and compliance
Manifest validation rules
- Hard rule
telegram.caption_limitKeep text messages within 4,096 characters and media captions within 1,024 UTF-16 code units.
- Hard rule
telegram.album_mixAlbums (2 to 10 items) may combine photos and videos, or contain only documents; never mix documents with photos or videos in one album.
Queue and rate-limit windows
Worker queue: telegram (max 4 concurrent jobs).
| Scope | Operation | Window | Max operations |
|---|---|---|---|
channel | publish | 1 minute | 20 |
Shipped platform guardrails
- forbidApplies to: agent, oauth_client, api_key, user
Honeloop does not reply to third-party Telegram messages (26 R4-N1); replies stay within the channel's own multi-part posts.
- forbidApplies to: agent, oauth_client, api_key
Automated third-party replies are out of scope on closed platforms (26 R4-N1).
- forbidApplies to: user, api_key, oauth_client, agent
Direct messages are out of scope (constitution §1).
Publish to Telegram
Every call passes the same 12-stage policy gate, manifest preflight check and audit trail. Under the default in_the_loop policy, scheduling returns HTTP 202 ApprovalDiversion until a reviewer approves.
# Draft and schedule for your Telegram channel (provider: telegram) hl posts create --channels "$CHANNEL_ID" --text "Speckled oatmeal mugs from the autumn firing are in the shop Tuesday at 10:00." hl posts schedule "$POST_ID" --version 1 --at 2026-11-26T09:30:00Z hl posts status "$POST_ID"
curl -sS -X POST "https://api.honeloop.example/v2/posts/create" \
-H "Authorization: Bearer $HONELOOP_AGENT_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: create-telegram-0001" \
-d '{
"channel_ids": ["0197e3a0-0000-7000-8000-0000000000a5"],
"parts": [
{ "kind": "text", "text": "Speckled oatmeal mugs from the autumn firing are in the shop Tuesday at 10:00." }
]
}'Common questions
How does Honeloop count characters for Telegram?
Telegram allows up to 4,096 characters by default using UTF-16 code units. Honeloop validates text length before scheduling and rejects over-limit drafts with 400 validation_failed instead of failing after approval.
What media and multi-part formats does Telegram support?
up to 10 images, up to 10 videos, up to 10 documents (mixed kinds allowed). Threaded reply chain (up to 15 parts).
How do authentication and approvals work on Telegram?
Telegram connects via Bot token. Starts on Approve everything; ceiling on_the_loop (no unsupervised auto-publish). Disconnecting the channel immediately revokes and scrubs stored credentials.
What compliance guardrails apply to Telegram?
Analytics AI posture is allowed. Cost model: Included (no per-call platform API surcharge). Access status: development access (connects with your own site, bot token, API key or platform app credentials).