Apex-X commited on
Commit
a87fe57
·
verified ·
1 Parent(s): 013ae9a

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +38 -8
README.md CHANGED
@@ -1,13 +1,43 @@
1
  ---
2
- title: Telebottest
3
- emoji: 👁
4
- colorFrom: gray
5
- colorTo: red
6
- sdk: gradio
7
- sdk_version: 5.32.1
8
  app_file: app.py
9
  pinned: false
10
- license: intel-research
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Telegram Bot on Hugging Face
3
+ emoji: 🤖
4
+ colorFrom: blue
5
+ colorTo: indigo
6
+ sdk: docker
 
7
  app_file: app.py
8
  pinned: false
 
9
  ---
10
 
11
+ # 🤖 Telegram Bot (Hosted on Hugging Face Spaces)
12
+
13
+ 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.
14
+
15
+ ---
16
+
17
+ ## 🔧 How to Use This Bot
18
+
19
+ 1. **Send a message** to the Telegram bot.
20
+ 2. It will reply:
21
+ > You said: `<your message>`
22
+
23
+ ---
24
+
25
+ ## 🛠️ How to Set It Up
26
+
27
+ ### 1. Get Your Bot Token
28
+
29
+ Create a bot using [@BotFather](https://t.me/BotFather) on Telegram and get the token.
30
+
31
+ ---
32
+
33
+ ### 2. Add Secrets in Space Settings
34
+
35
+ Go to **Settings > Secrets** in this Space and add:
36
+
37
+ | Name | Value |
38
+ |---------------------|---------------------|
39
+ | `TELEGRAM_BOT_TOKEN` | Your bot token here |
40
+
41
+ ---
42
+
43
+ ### 3. Set the W