protected function composeApiMethodUrl(TelegramMethods $call): string
    {
        $completeClassName = \get_class($call);
        $this->methodName = substr($completeClassName, strrpos($completeClassName, '\\') + 1);
        $this->logger->info('About to perform API request', ['method' => $this->methodName]);

        return $this->apiUrl . $this->methodName;
    }
protected function composeApiMethodUrl(TelegramMethods $call): string
    {
        $completeClassName = \get_class($call);
        $this->methodName = substr($completeClassName, strrpos($completeClassName, '\\') + 1);
        $this->logger->info('About to perform API request', ['method' => $this->methodName]);

        return $this->apiUrl . $this->methodName;
    }
protected function composeApiMethodUrl ( TelegramMethods $ call ) : string { $ completeClassName = \ get_class ( $ call ) ; $ this -> methodName = substr ( $ completeClassName , strrpos ( $ completeClassName , '\\' ) + 1 ) ; $ this -> logger -> info ( 'About to perform API request' , [ 'method' => $ this -> methodName ] ) ; return $ this -> apiUrl . $ this -> methodName ; }
Builds up the URL with which we can work with

All methods in the Bot API are case-insensitive.
All queries must be made using UTF-8.

@see https://core.telegram.org/bots/api#making-requests

@param TelegramMethods $call
@return string
Builds up the URL with which we can work with