Spaces:
Sleeping
Sleeping
Qasaawaleid
commited on
Commit
·
1043020
1
Parent(s):
c442ab3
Upload app.py
Browse files
app.py
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!pip install pyTelegramBotAPI
|
2 |
+
import telebot
|
3 |
+
|
4 |
+
bot = telebot.TeleBot('5903007708:AAEvO_Z45cxnDZ-ZMB-UcrVmliIS-z7K2BQ')
|
5 |
+
|
6 |
+
|
7 |
+
|
8 |
+
@bot.message_handler(commands=['start'])
|
9 |
+
def welcome_message(message):
|
10 |
+
bot.reply_to(message, "مرحباً بك في البوت!")
|
11 |
+
|
12 |
+
bot.polling()
|