I have the following code:
inline_keyboard: [
[{ text: 'Authorize', callback_data: '1', url: 'https://google.com' }],
],
When I press the button that comes out this code, the resulting url is modified to:
tg://unsafe_url?url=https%3A%2F%2Fgoogle.com%2F
Then, when the user presses the button, a confirmation modal appears.
I've seen other bots with url buttons that don't have that confirmation button. For example https://ifttt.com connects with telegram and has buttons that I guess are safe.
The telegram documentation doesn't mention unsafe urls: https://core.telegram.org/bots/api#inlinekeyboardbutton
I'd like to avoid that modal and go straight to the link. Is there some approval process that needs to happen?