skip to Main Content

Python telegram bot doesn't recognize text message – Telegram API

Here I have a code for making a simple echo bot for telegram. from telegram.ext import Updater, CommandHandler, MessageHandler, Filters import logging from data.constants import API_TOKEN, LOGGING_FORMAT logging.basicConfig(format=LOGGING_FORMAT, level=logging.DEBUG) updater = Updater(token=API_TOKEN) dispatcher = updater.dispatcher def start(update, context): context.bot.send_message(chat_id=update.effective_chat.id, text='Hello,…

VIEW QUESTION
Back To Top
Search