You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In documentation we have the code $telegram->commandsHandler(false, ['timeout' => 30]);. But it doesn't work because the method commandsHandler doesn't take array as of second argument.
PHP version
8.3
irazasyed/telegram-bot-sdk version
3.14
Laravel version (if any)
No response
Code To Reproduce the bug
In documentation we have the code
$telegram->commandsHandler(false, ['timeout' => 30]);
. But it doesn't work because the method commandsHandler doesn't take array as of second argument.This is them code:
There is no way to configure command handler to use
['timeout' => 30]
param.That functional was added on #418 and removed at the moment.
Error stacktrace (if any)
No response
The text was updated successfully, but these errors were encountered: