The bundled internal/channels/telegram package (17 files) is deleted; the channel now ships as archipelago/channels/telegram, launched by archiemessaging through the existing channel-extension machinery. An existing [chat.telegram] config enables it with the same keys: the token stays a secret reference (token_ref) the host resolves, allowed_user_ids and show_tool_calls map onto extension settings. Per-org bots compose the same extension per org from the org's credential binding. Reload support is now derived from a channels.Reloader interface instead of a *telegram.Gateway assertion. The five host-only seams (/update, release announcements, running versions, in-place show_tool_calls, reload) are dropped from the channel and need a contract home or deletion.
12 lines
406 B
YAML
12 lines
406 B
YAML
apiVersion: dev.archie.package.v1
|
|
displayName: Telegram
|
|
description: "Telegram chat channel: long-polls the Bot API, routes messages from allowed user ids through the gateway, and replies in the chat. The bot token is a secret reference (token_ref) resolved by the host."
|
|
version: 1.0.0
|
|
contributes:
|
|
extensions:
|
|
- surface: channel
|
|
path: bin/telegram
|
|
files:
|
|
- path: bin/telegram
|
|
mode: 493
|