"Widgets" is a new functionality that Telegram added a few days ago:
https://nitter.catsarch.com/durov/status/2120148866469376463
I don't have Telegram to test it, but be very careful – apparently the exploit works without any user interaction. Update ASAP.
Or ideally, ditch Telegram already. It has never been safe to use.