Skip to content

Instantly share code, notes, and snippets.

@toracle
Last active August 2, 2017 11:04
Show Gist options
  • Save toracle/f38bfd31ad59babfd28a8aa7bdf54546 to your computer and use it in GitHub Desktop.
Save toracle/f38bfd31ad59babfd28a8aa7bdf54546 to your computer and use it in GitHub Desktop.
bothub-tutorial-python-telegram
from bothub_client.bot import BaseBot
class Bot(BaseBot):
def handle_message(self, event, context):
self.send_message('Echo: {}'.format(event['content']))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment