code: public function update($groupId, $name)
      {
          $params = [
                     'group' => [
                                 'id' => $groupId,
                                 'name' => $name,
                                ],
                    ];
  
          return $this->parseJSON('json', [self::API_UPDATE, $params]);
      }
docs: Update a group name.
  
  @param int    $groupId
  @param string $name
  
  @return \EasyWeChat\Support\Collection