Spaces:
Build error
Build error
metadata
title: Telegram Bot on Hugging Face
emoji: π€
colorFrom: blue
colorTo: indigo
sdk: docker
app_file: app.py
pinned: false
π€ Telegram Bot (Hosted on Hugging Face Spaces)
This is a simple Telegram bot powered by Flask and hosted on Hugging Face Spaces. It listens to incoming messages via a webhook and replies with an echo.
π§ How to Use This Bot
- Send a message to the Telegram bot.
- It will reply:
You said:
<your message>
π οΈ How to Set It Up
1. Get Your Bot Token
Create a bot using @BotFather on Telegram and get the token.
2. Add Secrets in Space Settings
Go to Settings > Secrets in this Space and add:
Name | Value |
---|---|
TELEGRAM_BOT_TOKEN |
Your bot token here |