Why is the Telegram user's bot session being restored?

when i run the code with pyrogram library with api id and api hash, the previous session is restored. I’ve been trying to uninstall for a month now. I delete and restore after launch in new projects and new accounts I created. Tell me what to do please.

Welcome to Ask! Are you by any chance using deployments? They don’t have persistent filesystems, so every time you run it, any changes made while it was running should be undone.

4 Likes

thanks more for the answer, it became clearer to me

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.