it.auties.whatsapp.model.button.misc.ButtonSection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cobalt Show documentation
Show all versions of cobalt Show documentation
Standalone fully-featured Whatsapp Web API for Java and Kotlin
package it.auties.whatsapp.model.button.misc;
import it.auties.protobuf.annotation.ProtobufMessageName;
import it.auties.protobuf.annotation.ProtobufProperty;
import it.auties.protobuf.model.ProtobufMessage;
import it.auties.protobuf.model.ProtobufType;
import java.util.List;
/**
* A model class that represents a section of buttons
*/
@ProtobufMessageName("Message.ListMessage.Section")
public record ButtonSection(
@ProtobufProperty(index = 1, type = ProtobufType.STRING)
String title,
@ProtobufProperty(index = 2, type = ProtobufType.OBJECT, repeated = true)
List rows
) implements ProtobufMessage {
}