Red Hat Camel K is deprecated
Red Hat Camel K is deprecated and the End of Life date for this product is June 30, 2025. For help migrating to the current go-to solution, Red Hat build of Apache Camel, see the Migration Guide.第 68 章 telegram 源
接收人们发送到您的 Telegram bot 的所有消息。
要创建 bot,请使用 Telegram 应用联系 @botfather 帐户。
源将以下标头附加到信息:
-
chat-id
/ce-chatid
:消息来自的聊天的 ID
68.1. 配置选项
下表总结了 telegram-source
Kamelet 可用的配置选项:
属性 | 名称 | 描述 | 类型 | 默认 | 示例 |
---|---|---|---|---|---|
authorizationToken * | 令牌 | 在 Telegram 上访问 bot 的令牌。您可以从 Telegram @botfather 获取它。 | 字符串 |
注意
带有星号 packagemanifests 的字段是必需的。