Utilities
Plan Telegram message and file operations
telegram-integration is a selected-action workflow adapter for Telegram.
Free plan: 1 user, 3 execution slots, no card.
overview
What telegram-integration does
Select message.sendMessage, message.sendPhoto or message.sendDocument and provide the intended chat and input fields. Explicit dry-run emits a plan without calling Telegram. Normal-mode media operations upload the supplied FILE using multipart requests.
Source-declared actions: message.sendMessage, message.sendPhoto, message.sendDocument.
A FILE of JSONL results, with an ok field per processed item. Dry-run rows include dry_run: true and planning fields, not a provider response or proof of execution. The registered contract also exposes a FOLDER output. Payload and text fields may contain supplied content; use synthetic data for shared examples.
Native executable tests cover all 3 declared actions using owned loopback HTTP fixtures, plus credential/error cases. No real provider calls were made. A private three-node platform workflow passed with downloaded dry-run plan and verifier outputs. This verifies planning and typed file flow, not provider HTTP or execution. Public image and source/notices directions are available. The original tool entry is available in the public Library. Keep private platform planning separate from provider execution.
source hub.docker.com/r/nenadzaric/skills-integrations-telegram-integration
image quay.io/trickest/telegram-integration:d074-notices1
use cases
telegram-integration use cases
Preview message routing
Inspect a synthetic chat/text plan with dry-run true; this does not send or confirm delivery.
Supply a local media file
Normal sendPhoto/sendDocument reads the corresponding FILE port. Native multipart fixtures verify file payload handling; dry-run does not exercise upload.
Retain operation results
Normal results include the message identifier returned by the configured provider. Fixture identifiers demonstrate parser behavior, not a real delivered message.
reference
telegram-integration inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| items | FILE | --items | Optional. One JSON object per line (JSONL); each line is one API call. If omitted, uses upstream files in /hive/in or a single send from flags. Example: {"text":"Finding ready","chat_id":"-100123"} |
| photo | FILE | --photo | Photo URL or path (sendPhoto; also accepted per JSONL item key "photo") |
| token | STRING | --token | Bot token ; wire to ${{vars.TELEGRAM_BOT_TOKEN}} Supply via workflow secrets; never bake credentials into images, source, or shared inputs. |
| chat-id | STRING | --chat-id | Chat/channel id ; wire to ${{vars.TELEGRAM_CHAT_ID}} |
| dry-run | BOOLEAN | --dry-run | Optional: true returns a request/message plan without provider calls; omitted/false keeps normal configured execution. This is not a live provider test. |
| document | FILE | --document | Document URL or path (sendDocument; also accepted per JSONL item key "document") |
| resource | STRING | --resource | Telegram resource (default: message) |
| operation | STRING | --operation | Operation: sendMessage | sendPhoto | sendDocument |
Showing key inputs. telegram-integration exposes 13 inputs in total.
Full flag reference (13 inputs)
| Name | Type | Flag | Description |
|---|---|---|---|
| text | STRING | --text | Message text (single send; omit when reading items) |
| items | FILE | --items | Optional. One JSON object per line (JSONL); each line is one API call. If omitted, uses upstream files in /hive/in or a single send from flags. Example: {"text":"Finding ready","chat_id":"-100123"} |
| photo | FILE | --photo | Photo URL or path (sendPhoto; also accepted per JSONL item key "photo") |
| token | STRING | --token | Bot token ; wire to ${{vars.TELEGRAM_BOT_TOKEN}} Supply via workflow secrets; never bake credentials into images, source, or shared inputs. |
| caption | STRING | --caption | Caption for sendPhoto / sendDocument |
| chat-id | STRING | --chat-id | Chat/channel id ; wire to ${{vars.TELEGRAM_CHAT_ID}} |
| dry-run | BOOLEAN | --dry-run | Optional: true returns a request/message plan without provider calls; omitted/false keeps normal configured execution. This is not a live provider test. |
| document | FILE | --document | Document URL or path (sendDocument; also accepted per JSONL item key "document") |
| resource | STRING | --resource | Telegram resource (default: message) |
| operation | STRING | --operation | Operation: sendMessage | sendPhoto | sendDocument |
| parse-mode | STRING | --parse-mode | Telegram parse mode: Markdown | MarkdownV2 | HTML |
| text-field | STRING | --text-field | Which item field holds the message text (default: text) |
| continue-on-error | BOOLEAN | --continue-on-error | Keep going (and exit 0) when an individual send fails |
example
telegram-integration command examples
telegram-integration --dry-run --resource message --operation sendMessage --chat-id -12345 --text "D074 owned plan fixture" --output ./plan.jsonl{"resource": "message", "operation": "sendMessage", "chat_id": "-12345", "ok": true, "dry_run": true, "method": "sendMessage", "text": "D074 owned plan fixture"}guidance
telegram-integration vs alternatives
Use this service-specific adapter when the selected provider action and typed fields match the workflow. Dry-run planning, native HTTP-mock acceptance and actual provider execution are separate capabilities. A generic HTTP client may suit API routes this adapter does not expose.
faq
telegram-integration FAQ
related
More Utilities tools
dnsgen
Wordlist and mined-word subdomain permutation.
pup
CSS selectors over HTML, the jq counterpart for markup.
unfurl
Extract chosen URL parts from stdin into clean line lists.
browser-fetch
Headless Chromium render: requested URL, final URL, status, and title next to the page.
cewl
Spider a URL and return a wordlist for password crackers.
csvkit
SQL on one CSV. The table name is the file stem.
Run telegram-integration yourself
Complete retained JSONL plan from the current notices1 image using synthetic owned fixture data. This was dry-run planning, not a provider request or delivered message. Native HTTP-mock action coverage is recorded separately.
Facts on this page come from the live Trickest tool library.