You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to happen on joinNewsletter/leaveNewsletter/queryNewsletterSubscriber/queryNewsletter so most of the w:mex message types.
I tried to change the queryids with some coming from WhiskeySockets's Baileys but with no success. joinNewsletter/leaveNewsletter seems to not work for them too, but get channel meta data does.
version tested : 0.0.7
The text was updated successfully, but these errors were encountered:
queryNewsletter : the reason for the bad request seems to be the boolean fetchFullImage in QueryNewsletterRequest.Variable, when switching it to false the request responds normally
working eg :
var key = new QueryNewsletterRequest.Input(Jid.of(jidStr), "JID", NewsletterViewerRole.GUEST);
var request = new QueryNewsletterRequest(new QueryNewsletterRequest
.Variable(key, true, false, true));
CompletableFuture<Node> future = sendQuery("get", "w:mex", Node.of("query",
Map.of("query_id", "6620195908089573"),
Json.writeValueAsBytes(request)));
return future.join();
join/leave newsletter : seems to work when testing with a phone to validate the subscription, error was in my code sorry.
Hello,
While trying to query a channel info, join or leave a channel the following node is sent back by whatsapp :
My test code :
This seems to happen on joinNewsletter/leaveNewsletter/queryNewsletterSubscriber/queryNewsletter so most of the w:mex message types.
I tried to change the queryids with some coming from WhiskeySockets's Baileys but with no success. joinNewsletter/leaveNewsletter seems to not work for them too, but get channel meta data does.
version tested : 0.0.7
The text was updated successfully, but these errors were encountered: