import telegram
bot = telegram.Bot(token='TOKEN')
print(bot.get_me())
pip3 list | grep -i telegram
pip3 install --user --force-reinstall python-telegram-bot
from telegram.ext import Updater
updater = Updater(token='<YOUR TOKEN HERE>')
dispatcher = updater.dispatcher
def startCommand(bot, update):
bot.send_message(chat_id=update.message.chat_id, text='Hello!')
start_command_handler = CommandHandler('start', startCommand)
updater.start_polling(clean=True)
updater.idle()