defstudio / telegraph

Telegraph is a Laravel package for fluently interacting with Telegram Bots
MIT License
697 stars 118 forks source link

webApp button Request: BUTTON_TYPE_INVALID #577

Closed slagusev closed 7 months ago

slagusev commented 7 months ago

When adding a web application, an error occurs.

Button::make($item['text'])->webApp($item['url']);

"ok":false,"error_code":400,"description":"Bad Request: BUTTON_TYPE_INVALID"

Even the example from the documentation doesn't work.

fabio-ivona commented 7 months ago

you should use a ReplyButton, not a Button