it.auties.whatsapp.model.request.MexQueryRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of whatsappweb4j Show documentation
Show all versions of whatsappweb4j Show documentation
Standalone fully-featured Whatsapp Web API for Java and Kotlin
package it.auties.whatsapp.model.request;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
// {"queryId":"6420453474633624","variables":{"users":[{"user_id":\"393396139846"}],"updates":["STATUS"]}}
public record MexQueryRequest(@JsonProperty("queryId") String queryId, @JsonProperty("variables") Entry body) {
public MexQueryRequest(List users, List updates){
this("6420453474633624", new Entry(users, updates));
}
public record Entry(List users, List updates){
}
public record User(@JsonProperty("user_id") String userId){
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy