File size: 1,347 Bytes
5655a42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: telegram-platform
label: Telegram
kind: platform
version: 1.0.0
description: >
  Telegram gateway adapter for Hermes Agent.
  Connects to Telegram via python-telegram-bot and relays messages between
  Telegram chats/groups/topics and the Hermes agent. Supports threads/topics,
  streaming edits, native media, inline keyboards, slash commands, fallback
  network transport (direct-IP failover), notification modes, mention gating,
  and per-user/chat allowlists.
author: NousResearch
requires_env:
  - name: TELEGRAM_BOT_TOKEN
    description: "Telegram bot token from @BotFather"
    prompt: "Telegram bot token"
    url: "https://t.me/BotFather"
    password: true
optional_env:
  - name: TELEGRAM_ALLOWED_USERS
    description: "Comma-separated Telegram user IDs allowed to talk to the bot"
    prompt: "Allowed users (comma-separated)"
    password: false
  - name: TELEGRAM_ALLOW_ALL_USERS
    description: "Allow any Telegram user to trigger the bot (dev only)"
    prompt: "Allow all users? (true/false)"
    password: false
  - name: TELEGRAM_HOME_CHANNEL
    description: "Default chat ID for cron / notification delivery"
    prompt: "Home channel ID"
    password: false
  - name: TELEGRAM_HOME_CHANNEL_NAME
    description: "Display name for the Telegram home channel"
    prompt: "Home channel display name"
    password: false