code: public function register()
      {
          $this->app->singleton('Williamson\Laragram\TgCommands', function () {
              try {
                  $tg = new TgCommands(Config::get('services.telegram.socket'));
              } catch (ClientException $e) {
                  Log::error($e->getMessage());
  
                  return;
              }
  
              return $tg;
          });
      }
docs: Register the application services.
  
  @return void