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

cn.nukkit.form.response.FormResponseModal Maven / Gradle / Ivy

There is a newer version: 1.20.40-r1
Show newest version
package cn.nukkit.form.response;

public class FormResponseModal extends FormResponse {

    private final int clickedButtonId;
    private final String clickedButtonText;

    public FormResponseModal(int clickedButtonId, String clickedButtonText) {
        this.clickedButtonId = clickedButtonId;
        this.clickedButtonText = clickedButtonText;
    }

    public int getClickedButtonId() {
        return clickedButtonId;
    }

    public String getClickedButtonText() {
        return clickedButtonText;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy