Apex-X commited on
Commit
42cca33
·
verified ·
1 Parent(s): 7e75e75

Update app. py

Browse files
Files changed (1) hide show
  1. app. py +1 -2
app. py CHANGED
@@ -8,8 +8,7 @@ TELEGRAM_BOT_TOKEN = os.environ.get("TELEGRAM_BOT_TOKEN")
8
  if not TELEGRAM_BOT_TOKEN:
9
  raise ValueError("TELEGRAM_BOT_TOKEN not set.")
10
 
11
- TELEGRAM_API_URL = f"https://api.telegram.org/bot{TELEGRAM_BOT_TOKEN}/"
12
-
13
  def send_message(chat_id, text):
14
  payload = {"chat_id": chat_id, "text": text}
15
  try:
 
8
  if not TELEGRAM_BOT_TOKEN:
9
  raise ValueError("TELEGRAM_BOT_TOKEN not set.")
10
 
11
+ TELEGRAM_API_URL = f"https://api.telegram.org/bot2051251535:TEST:OTk5MDA4ODgxLTAwNQ/"
 
12
  def send_message(chat_id, text):
13
  payload = {"chat_id": chat_id, "text": text}
14
  try: