skip to Main Content

heroku telegram bot, BadRequest: Bad webhook: ip address 0.0.0.0 is reserved – Telegram API

I create a simple telegram bot: import logging from telegram.ext import Updater, CommandHandler, MessageHandler, Filters import os PORT = int(os.environ.get('PORT', 8443)) # Enable logging logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.INFO) logger = logging.getLogger(__name__) TOKEN = 'YOURTELEGRAMBOTTOKEN' # Define…

VIEW QUESTION
Back To Top
Search