Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created August 18, 2020 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/e3e387b10fceeb3b9a7815eb14e31e2e to your computer and use it in GitHub Desktop.
Save amankharwal/e3e387b10fceeb3b9a7815eb14e31e2e to your computer and use it in GitHub Desktop.
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters
updater = Updater(token='TOKEN', use_context=True) #Replace TOKEN with your token string
dispatcher = updater.dispatcher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment