SuperAPI AI Directory

telegram-bot

Office & productivity

View repository

Updated 10-15 20:35

About this skill

Telegram Bot

Two scripts for Telegram bot interaction:

1. Fetch latest channel message

Reads the most recent post from your Telegram channel.

python3 <skill-dir>/scripts/fetch_dm.py

Requires: TELEGRAM_BOT_TOKEN, TELEGRAM_CHANNEL_ID

2. Send message to channel

Posts a message to your Telegram channel.

python3 <skill-dir>/scripts/send_channel.py "Your message here"

Supports HTML formatting (<b>, <i>, <code>, <a href="...">).

Requires: TELEGRAM_BOT_TOKEN, TELEGRAM_CHANNEL_ID