botman / driver-telegram

BotMan Telegram Driver
MIT License
86 stars 75 forks source link

now handles url-buttons correctly #108

Closed valentinomariotto closed 1 month ago

valentinomariotto commented 1 year ago

Hi guys! I made this little modification so that the driver can use the API capability to make "url buttons". Buttons which open the user browser when clicked on. A feature sought-after by a lot of people.

I read your guide on contributing. Look, this is the first time I submit my code to an open project, I'm only a beginner, and I can hardly make sense of your requirements. I don't have time for this at the moment. Sorry. Just take a look below, it's pretty straightforward.

Thank you

filippotoso commented 1 year ago

I replaced !== with isset().

I'll write some tests to check it works correctly and then it will be merged.