-
I'm trying to make 1 massage handler return one same function to every input it gets. For example, instead of making these 2 message handler return the same function 'editing' when the input is equal to 'Edit' or 'ADD':
I wanted to add something like :
So everything its typed returns the same function 'editing' For a more specific case, if necessary, consider this code . If, for some reason, i wanted to add only 1 message handler wich returns the function 'start' to everything the user types. How could it be done ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can simply use |
Beta Was this translation helpful? Give feedback.
You can simply use
Filters.text
if you want all text messages to go to one single callback.