All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.auties.whatsapp.model.request.MexQueryRequest Maven / Gradle / Ivy

There is a newer version: 3.5.1
Show newest version
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