Don't have Telegram yet? Try it now!
https://mamchenkov.net/wordpress/2019/07/02/bash-trick-repeat-last-command-until-success/
Bash trick: Repeat last command until success