plugins/gateways/telegram/handler

Text message handler for Telegram. Receives incoming messages, runs the agent loop, and sends replies.

Values

pub fn new_router(
  conn: sqlight.Connection,
  client: completions.Client,
  tool_defs: List(completions.ToolDefinition),
  max_rounds: Int,
) -> router.Router(session.Session, String)

Build a Router that handles incoming text messages by running the agent loop.

Search Document