The best part about Telegram is that you can restore your data on any device, any number of times, as long as you have access to your registered mobile number.
So, all in all, if you need to restore or even replace your device, your Telegram data will be intact.