public function create($chatId, $name, $owner, array $userList)
    {
        $params = [
            'chatid'   => $chatId,
            'name'     => $name,
            'owner'    => $owner,
            'userlist' => $userList,
        ];

        return $this->parseJSON('json', [self::API_CREATE, $params]);
    }
public function create($chatId, $name, $owner, array $userList)
    {
        $params = [
            'chatid'   => $chatId,
            'name'     => $name,
            'owner'    => $owner,
            'userlist' => $userList,
        ];

        return $this->parseJSON('json', [self::API_CREATE, $params]);
    }
public function create ( $ chatId , $ name , $ owner , array $ userList ) { $ params = [ 'chatid' => $ chatId , 'name' => $ name , 'owner' => $ owner , 'userlist' => $ userList , ] ; return $ this -> parseJSON ( 'json' , [ self :: API_CREATE , $ params ] ) ; }
Create chat.

@param string $chatId
@param string $name
@param string $owner
@param array  $userList

@return \EntWeChat\Support\Collection
Create chat .