Last active
August 2, 2017 11:04
-
-
Save toracle/f38bfd31ad59babfd28a8aa7bdf54546 to your computer and use it in GitHub Desktop.
bothub-tutorial-python-telegram
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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