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 some case maybe users want to edit command and when the commend edited the $this->getMessage() return null and must use $this->getEditedMessage() to fix this issue
How to reproduce
for example send /whois 1234 and then edit the message to /whois 5678
Expected behaviour
it must resend the result base on new message edited
Current behaviour
Error - Call to a member function getChat() on null;
File: vendor/longman/telegram-bot/src/Commands/AdminCommands/WhoisCommand.php; Line: 65;
The text was updated successfully, but these errors were encountered:
🐞 Bug Report
Required Information
Summary
in some case maybe users want to edit command and when the commend edited the
$this->getMessage()
return null and must use$this->getEditedMessage()
to fix this issueHow to reproduce
for example send
/whois 1234
and then edit the message to/whois 5678
Expected behaviour
it must resend the result base on new message edited
Current behaviour
The text was updated successfully, but these errors were encountered: