public function update($chatId, $opUser, array $chatInfo = [])
    {
        $params = array_merge($chatInfo, [
            'chatid'  => $chatId,
            'op_user' => $opUser,
        ]);

        return $this->parseJSON('json', [self::API_UPDATE, $params]);
    }
public function update($chatId, $opUser, array $chatInfo = [])
    {
        $params = array_merge($chatInfo, [
            'chatid'  => $chatId,
            'op_user' => $opUser,
        ]);

        return $this->parseJSON('json', [self::API_UPDATE, $params]);
    }
public function update ( $ chatId , $ opUser , array $ chatInfo = [ ] ) { $ params = array_merge ( $ chatInfo , [ 'chatid' => $ chatId , 'op_user' => $ opUser , ] ) ; return $ this -> parseJSON ( 'json' , [ self :: API_UPDATE , $ params ] ) ; }
Update chat.

@param string $chatId
@param string $opUser
@param array  $chatInfo

@return \EntWeChat\Support\Collection
Update chat .