src/Api.php
public function triggerCommand($name, Update $update)
    {
        return $this->getCommandBus()->execute($name, $update->getMessage()->getText(), $update);
    }
public function triggerCommand($name, Update $update)
    {
        return $this->getCommandBus()->execute($name, $update->getMessage()->getText(), $update);
    }
public function triggerCommand ( $ name , Update $ update ) { return $ this -> getCommandBus ( ) -> execute ( $ name , $ update -> getMessage ( ) -> getText ( ) , $ update ) ; }
Helper to Trigger Commands.

@param string $name   Command Name
@param Update $update Update Object

@return mixed
Helper to Trigger Commands .