Telegram 연동을 통해 Botpress 챗봇과 AI 에이전트가 공식 Telegram Bot API를 통해 Telegram 사용자와 소통할 수 있습니다. 이 기능은 텍스트, 미디어, 버튼, 그리고 대화형 명령어를 개인 채팅이나 그룹 내에서 실시간 양방향 메시징으로 지원합니다.
이 연동은 내부적으로 Telegraf라는 강력한 Node.js 프레임워크를 사용하여 Telegram에서 오는 메시지 라우팅, 명령어, 이벤트를 관리합니다. AI 에이전트가 보내는 메시지는 자동으로 Markdown에서 Telegram이 지원하는 HTML 구문으로 변환되어, 텍스트, 링크, 서식이 정확하게 표시됩니다.
메시지 정제와 입력 중 표시 기능이 내장되어 있어, 이 연동은 최종 사용자에게 깔끔하고 안전하며 반응성 높은 커뮤니케이션 경험을 제공합니다. 개발자는 이를 활용해 업데이트 자동화, 티켓 처리, 또는 챗봇을 Telegram 커뮤니티로 확장할 수 있습니다. 최소한의 설정만으로 사용할 수 있습니다.
<iframe src="https://www.youtube.com/embed/w0-UGm4mu74"></iframe>
The Telegram integration allows your AI-powered chatbot to seamlessly interact with Telegram, a popular messaging platform with a large user base. Connect your chatbot to Telegram and engage with your audience in real-time conversations. With this integration, you can automate customer support, provide personalized recommendations, send notifications, and handle inquiries directly within Telegram. Leverage Telegram's rich features, including text messages, inline buttons, media files, and more, to create dynamic and interactive chatbot experiences. Empower your chatbot to deliver exceptional user experiences on Telegram with the Telegram Integration for Botpress.
## Migrating from version `0.x.x` to `1.x.x`
### Removal of proactive conversations (and proactive users)
- Telegram does not currently support proactive conversations, so any bots using this feature will need to be updated to use the normal conversation flow.
### Removal of dedicated Markdown messages type
- The `markdown` channel message type is being deprecated in favor of integrating this behavior into the base `text` message type.
- This new Markdown behavior (commonmark spec) will allow image Markdown. However, since Telegram does not support mixed message types, it will split the message into multiple messages with images sent in between text messages.
### Addition of message limits
- Telegram has a message length limit of 4096 characters, so that limit has been added to the text parameter in the `text` message payload. Going over this limit will result in the message being rejected.