I tried using a telegram channel invite link (format https://t.me/+XXXXXXXXX) as a link in a button in the telegram inline keyboard. This was part of a “send a message” action in a direct bot chat.
It seems it is not working as intended. The very same link as part of the same “send a message” action leads to the channel as I expected, while the button seems to just cause an unintended callback to the same bot, which catches it as a catch-all.
I tested the same behaviour also with tg://XXX links.
What am I doing wrong?