Spaces:
Runtime error
Runtime error
Kaveh
commited on
Create responder.py
Browse files- bot/responder.py +5 -0
bot/responder.py
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from telegram import Bot
|
2 |
+
|
3 |
+
def send_summary(bot: Bot, chat_id: int, summary: str):
|
4 |
+
# میتونی اینجا بعداً قالببندی یا شکلهای بهتری اضافه کنی
|
5 |
+
bot.send_message(chat_id=chat_id, text=summary)
|