Zend certified PHP/Magento developer

Clear Telegram local database [migrated]

How can I clear Telegram local database? Previously I could do that when I go to the data and storage settings of the app then clear cached data and local database but right now every time I click on clear local database I just see a spinning circle for a second and it basically does nothing. It looks like constantly growing at the moment 600mb and I cannot delete it.

I’m using Android Q device, official rom, non-root. Are there tools or appropriate workarounds to fix this?