Telegram Sink
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Stable"
Send a message to a Telegram chat by using your Telegram bot as sender.
Configuration Options
The following table summarizes the configuration options available for the telegram-sink
Kamelet:
Dependencies
At runtime, the telegram-sink
Kamelet relies upon the presence of the following dependencies:
-
camel:core
-
camel:jackson
-
camel:kamelet
-
camel:telegram
Camel JBang usage
Prerequisites
-
You’ve installed JBang.
-
You have executed the following command:
jbang app install camel@apache/camel
Supposing you have a file named route.yaml with this content:
- route:
from:
uri: "kamelet:timer-source"
parameters:
period: 10000
message: 'test'
steps:
- to:
uri: "kamelet:telegram-sink"
You can now run it directly through the following command
camel run route.yaml
Telegram Sink Kamelet Description
Telegram Bot Integration
This Kamelet integrates with Telegram’s Bot API, enabling automated message sending through Telegram bots to users, groups, or channels.
Bot API Features
Telegram Bot API provides comprehensive messaging capabilities:
-
Text messages with rich formatting
-
Media sharing (photos, videos, documents)
-
Inline keyboards and custom keyboards
-
Location and contact sharing
-
Polls and quizzes
Message Formatting
Supports Telegram’s message formatting options:
-
Markdown and HTML parsing
-
Bold, italic, and code formatting
-
Links and mentions
-
Emoji and stickers
-
Message threading and replies
Delivery Options
Provides flexible message delivery:
-
Direct messages to users
-
Group chat messaging
-
Channel broadcasting
-
Silent notifications
-
Message scheduling and editing