I am using the pyTelegrambotAPI to build a bot to carry out transactions. In the course of carrying out the transaction, I ask the user for their password to authenticate them but I don’t want the password message to show in the chat. This is why I want to hide the password message or if possible hash out the password.
I’ve searched everywhere and checked the documentation but I can’t seem to find anything.
I’ll appreciate your solutions. Thanks.
hello! Unfortunately, there is no way to modify the message of the user who addresses you, what you could do, for example, is to save the message just sent to a database, and then proceed with deleting the message containing the password. Considering the fact that I can't see the bot surce code, I can't help you more than that!
Have a nice day and happy coding!
How can I hide a message sent from a user to my telegram bot