22 lines
639 B
YAML
22 lines
639 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.2.0
|
|
contributes:
|
|
extensions:
|
|
- surface: channel
|
|
path: bin/telegram
|
|
files:
|
|
- path: bin/telegram
|
|
mode: 493
|
|
settings:
|
|
- key: token_ref
|
|
label: Bot token
|
|
secret: true
|
|
required: true
|
|
- key: allowed_user_ids
|
|
label: Allowed users
|
|
type: list
|
|
description: Telegram user IDs. Everyone else is ignored.
|
|
required: true
|