it.auties.whatsapp.model.button.interactive.InteractiveLocation Maven / Gradle / Ivy
package it.auties.whatsapp.model.button.interactive;
import it.auties.protobuf.annotation.ProtobufMessage;
import it.auties.protobuf.annotation.ProtobufProperty;
import it.auties.protobuf.model.ProtobufType;
/**
* This model class describes a Location
*/
@ProtobufMessage(name = "Location")
public record InteractiveLocation(
@ProtobufProperty(index = 1, type = ProtobufType.DOUBLE)
double latitude,
@ProtobufProperty(index = 2, type = ProtobufType.DOUBLE)
double longitude,
@ProtobufProperty(index = 3, type = ProtobufType.STRING)
String name
) {
}