Skip to content

MessageHandler not able to catch commands #3649

Closed Answered by arthur19q3
arthur19q3 asked this question in Q&A
Discussion options

You must be logged in to vote

according to @obaskly :
https://stackoverflow.com/questions/75955308/messagehandler-not-able-to-catch-commands/75955412?noredirect=1#comment133968458_75955412

adding group =1 in the message handler fixed the probelm.
application.add_handler(MessageHandler(Filters.all, start_private_chat), group=1)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by arthur19q3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant