Skip to main content

Crate telegram_tool

Crate telegram_tool 

Source
Expand description

Shared Telegram integration for tools and inbound message adapters.

A single TelegramGateway owns update polling. Replies to interactive tool questions are routed by Telegram message ID; all other messages are broadcast to inbound adapters.

Structs§

IncomingMessage
TelegramGateway
Owns the Bot API client and the sole getUpdates polling loop.

Enums§

TelegramError

Functions§

register_tools
Register Telegram tools. The gateway is shared with the server’s inbound message handler; when absent, tool calls fail with a configuration error.