telegram-bot-sdk icon indicating copy to clipboard operation
telegram-bot-sdk copied to clipboard

Start Command doesn't work

Open HenriqueValente09 opened this issue 3 years ago • 1 comments

Method 'Vendor VApp\Commands \StartCommand: : handle () is not compatible with method "Telegram\Bot \ Commands\ Command : :handle()". intelephense(1038)

please, can someone help me? I'm following this guide https://telegram-bot-sdk.readme.io/docs/commands-system#writing-commands but it shows this error above

HenriqueValente09 avatar Apr 17 '22 14:04 HenriqueValente09

The documentation is misleading. handle() shouldn't have any parameters.

Chouchen avatar May 10 '22 08:05 Chouchen