public function createClient(): TgLog
    {
        $this->loop = Factory::create();
        $handler = new HttpClientRequestHandler($this->loop);

        return new TgLog($this->token, $handler);
    }
public function createClient(): TgLog
    {
        $this->loop = Factory::create();
        $handler = new HttpClientRequestHandler($this->loop);

        return new TgLog($this->token, $handler);
    }
public function createClient ( ) : TgLog { $ this -> loop = Factory :: create ( ) ; $ handler = new HttpClientRequestHandler ( $ this -> loop ) ; return new TgLog ( $ this -> token , $ handler ) ; }
Create API client.

@return mixed
Create API client .