The telegram_bot has configuration for timeout which only seems to be used for the outgoing TCP connection towards telegram servers.
When sending a telegram message with an attachment of some sort, there isnt way to configure the number of attempts that the bot will make to reach the URL configured. It will make 5 quick attempts, and thats it.
Enabling configuration of retry-attempts, maybe inter-retry delays, or at least apply the already configured timeout to the URL retrieval as well, would greatly simplify some automations where it takes a few seconds for the URL-source to become available.