Answer the question
In order to leave comments, you need to log in
How to make the bot's PM independent of the chat?
I write on Aiogram.
There is a bot that reacts to phrases in the chat. How to set up the menu in the bot so that it does not appear in the chat in any way. No matter how "/start", and no buttons, if you replay the messages of the bot.
Let's assume the situation. A phrase is set to which the bot responds. "What is concrete?"
The user in the chat asks this question and the bot answers him "Look for all the information here ..."
And if you go to the PM, then there will be buttons:
Types of concrete
History of concrete
Quality of concrete.
On the simplest code, if you press start in the chat while responding to a bot message, the user will see the menu that should have been in the LAN. And if the bot has an admin panel, then the bot will respond to these phrases regardless of whether the user answers the bot in the chat or not.
So how do you set the bot to state that the chat and PM are independent of each other?
*Maybe explained badly, if anything, specify. I'm just learning, and any advice, corrections are more important than ever)
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