When I try to run Telegram in the bot, it gives the following error: Built-in Telegram: Auth status: error { code = 400 and at the same time, Telegram does not unlog into the MoonBot terminal. How to fix it?

: Log errors

You need to close any unnecessary devices connected to this Telegram account, then close the MoonBot terminal and delete the entire tdlib folder. After that, load the MoonBot terminal in administrator mode and perform the procedure to connect to Telegram again on the Settings – Telegram tab.