Skip to content

Commit 94a1f42

Browse files
authoredFeb 16, 2024
Update tg_bot.py
1 parent 65bee75 commit 94a1f42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tg_bot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def process_photo(update: Update, context: CallbackContext) -> None:
9292
context.bot.send_photo(chat_id=update.message.chat_id, photo=img_bytes)
9393

9494
# Инициализация бота
95-
updater = Updater("6940245246:AAEpt50XeX6CjKstL3cA8D5KNgCTA3zf6Ck")
95+
updater = Updater("ВСТАВИТЬ НАДО СЮДА API ключ от своего бота")
9696

9797
# Добавляем обработчик сообщений с фотографией
9898
updater.dispatcher.add_handler(MessageHandler(Filters.photo, process_photo))

0 commit comments

Comments
 (0)
Please sign in to comment.