Last active
January 31, 2020 18:48
-
-
Save amiryousefi/b02ccb97a0cd62409ecc4e406e2dffab to your computer and use it in GitHub Desktop.
This file contains 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
def new_task(self, bot, update): | |
chat_id = update.message.chat_id | |
self.flags.new_task = True | |
bot.send_message(chat_id=chat_id, text="enter name for new task") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment