Install
openclaw skills install telegram-messagingSend messages, manage chats, handle files, and automate Telegram bot workflows via the Telegram Bot API. Use this skill when users want to send messages, manage groups, handle media, or automate notifications via Telegram.
openclaw skills install telegram-messagingSend messages, manage chats, handle files, and automate Telegram bot workflows via the Telegram Bot API.
This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Telegram API access yourself.
| Step 1: Install | Step 2: Pair Account | Step 3: Connect Telegram |
|---|---|---|
![]() | ![]() | App-specific connection GIF coming soon |
| Run the install command in OpenClaw | Sign in and approve the device | Open the dashboard and connect Telegram |
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ OpenClaw │────▶│ ClawLink │────▶│ Telegram Bot │
│ (User Chat) │ │ (OAuth) │ │ API │
└─────────────────┘ └──────────────┘ └──────────────────┘
│ │ │
│ 1. Install Plugin │ │
│ 2. Pair Device │ │
│ 3. Connect Telegram │ │
│ │ 4. Secure Token │
│ │ 5. Proxy Requests │
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ SKILL │ │ Dashboard│ │ Telegram │
│ File │ │ Auth │ │ Bot │
└──────────┘ └──────────┘ └──────────┘
Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.
openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Telegram again."
# Get bot info
clawlink_call_tool --tool "telegram_get_me" --params '{}'
# Get chat info
clawlink_call_tool --tool "telegram_get_chat" --params '{"chat_id": "CHAT_ID"}'
# Send a message
clawlink_call_tool --tool "telegram_send_message" --params '{"chat_id": "CHAT_ID", "text": "Hello from OpenClaw!"}'
All Telegram tool calls are authenticated automatically by ClawLink using the bot token from the user's connected Telegram bot.
No bot token is required in chat. ClawLink stores the bot token securely and injects it into every Telegram Bot API request on the user's behalf.
clawlink_begin_pairing if it is not configured yet.clawlink_list_integrations to verify the connection is active.clawlink_list_integrations
Response: Returns all connected integrations. Look for telegram in the list.
clawlink_list_tools --integration telegram
Response: Returns the live tool catalog for Telegram.
If Telegram tools are missing or the connection shows an error:
clawlink_list_integrations to verifyclawlink_list_tools --integration telegram| Tool | Description | Mode |
|---|---|---|
telegram_get_me | Get basic bot information (username, name, capabilities) | Read |
telegram_get_updates | Receive incoming updates via long polling | Read |
| Tool | Description | Mode |
|---|---|---|
telegram_send_message | Send a text message to a chat | Write |
telegram_send_photo | Send a photo to a chat | Write |
telegram_send_document | Send a document/file to a chat | Write |
telegram_send_location | Send a location point on a map | Write |
telegram_send_poll | Send a native poll to a chat | Write |
telegram_edit_message | Edit an existing bot-sent message | Write |
telegram_delete_message | Delete a bot-sent or service message | Write |
telegram_forward_message | Forward a message to another chat | Write |
| Tool | Description | Mode |
|---|---|---|
telegram_get_chat | Get chat information by ID | Read |
telegram_get_chat_history | Get messages from a chat | Read |
telegram_get_chat_member | Get a user's status/role in a chat | Read |
telegram_get_chat_administrators | List admins in a chat | Read |
telegram_get_chat_members_count | Get member count for a chat | Read |
telegram_create_chat_invite_link | Generate a new primary invite link | Write |
telegram_revoke_chat_invite_link | Revoke an existing invite link | Write |
| Tool | Description | Mode |
|---|---|---|
telegram_answer_callback_query | Send an answer to a callback query from inline keyboard | Write |
| Tool | Description | Mode |
|---|---|---|
telegram_set_my_commands | Set the bot's command list | Write |
telegram_get_my_commands | Get the bot's current command list | Read |
clawlink_call_tool --tool "telegram_send_message" \
--params '{
"chat_id": "-1001234567890",
"text": "Deployment complete! Version 2.1.0 is live on production."
}'
clawlink_call_tool --tool "telegram_send_photo" \
--params '{
"chat_id": "-1001234567890",
"photo": "https://example.com/chart.png",
"caption": "Weekly activity report"
}'
clawlink_call_tool --tool "telegram_send_poll" \
--params '{
"chat_id": "-1001234567890",
"question": "Which feature should we prioritize next?",
"options": ["Dark mode", "Export to PDF", "Team sharing", "API access"]
}'
clawlink_call_tool --tool "telegram_get_chat" \
--params '{
"chat_id": "-1001234567890"
}'
clawlink_call_tool --tool "telegram_get_chat_member" \
--params '{
"chat_id": "-1001234567890",
"user_id": "123456789"
}'
clawlink_call_tool --tool "telegram_forward_message" \
--params '{
"chat_id": "-1009876543210",
"from_chat_id": "-1001234567890",
"message_id": 42
}'
clawlink_list_integrations to confirm Telegram is connected.clawlink_list_tools --integration telegram to see the live catalog.clawlink_search_tools with a short query and integration telegram.┌─────────────────────────────────────────────────────────────┐
│ READ OPERATIONS (Safe) │
│ get → list → fetch → describe │
│ │
│ Example: Get chat info → Get chat history → Report │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ WRITE OPERATIONS (Require Confirmation) │
│ describe → preview → confirm → call │
│ │
│ Example: Preview message → User approves → Send message │
└─────────────────────────────────────────────────────────────┘
clawlink_describe_tool first.whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.clawlink_preview_tool first.clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.-100 (e.g., -1001234567890). User DMs use the user's numeric ID.telegram_get_updates and webhooks are mutually exclusive — if a webhook is active, polling returns a 409 Conflict.retry_after value.send_document to preserve original quality.| Status / Error | Meaning |
|---|---|
| Tool not found | The tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration telegram. |
| Missing connection | Telegram is not connected. Direct the user to https://claw-link.dev/dashboard?add=telegram. |
chat_not_found | The chat ID does not exist or the bot is not a member. |
bot_not_member | The bot is not a member of the target chat. |
message_not_found | The message ID does not exist in the chat. |
user_not_found | The user ID does not match any chat member. |
message_to_delete_not_found | Cannot delete — message may be too old (48h+ in groups) or not bot-authored. |
not_enough_rights | Bot lacks admin rights needed for this action in the group. |
retry_after | Rate limited — honor the retry delay (seconds). |
invalid_token | The bot token is invalid. Reconnect Telegram. |
| Write rejected | User did not confirm a write action. Always confirm before executing writes. |
openclaw plugins list
/new as a standalone message to reload the catalog.openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
/new again and retry.-100 prefix, users use numeric ID.chat_not_found appears, the bot may have been removed from the group.Powered by ClawLink — an integration hub for OpenClaw
