Replies: 1 comment 1 reply
-
I recommend not to use global variables unless you have a very specific reason for that. PTB has a built-in solution for storing data. For deleting messages, please have a look at |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm a beginner with Python-Telegram-Bot and i'm running this script without problems :
My questions are : How to get the variable "motion" equal 1 if the command "/go" is sent to Telegram ?
After that how to delete this command "/go" from Telegram server ?
Beta Was this translation helpful? Give feedback.
All reactions