Answer the question
In order to leave comments, you need to log in
How to receive only commands?
Good afternoon. If I understand correctly, setprivacy is responsible for the bot receiving all messages / only commands in the group.
Added a bot to the group, setprivacy - enabled. The getUpdate method shows absolutely everything that is written in the group.
Is this a bot bug, a special behavior of the method, and you need to switch to web hooks, or did I not understand how privacy works for bots at all?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question