We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cff81a commit 728f2f5Copy full SHA for 728f2f5
src/Telegram.php
@@ -682,7 +682,7 @@ public function executeCommand(string $command): ServerResponse
682
} else {
683
//execute() method is executed after preExecute()
684
//This is to prevent executing a DB query without a valid connection
685
- $this->last_command_response = $command_obj->preExecute();
+ $this->last_command_response = $command_obj->setUpdate($this->update)->preExecute();
686
}
687
688
return $this->last_command_response;
0 commit comments