
me.niccolomattei.api.telegram.keyboard.ForceReply Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegram Show documentation
Show all versions of telegram Show documentation
Simple yet powerful telegram bot api.
package me.niccolomattei.api.telegram.keyboard;
import org.json.JSONObject;
import me.niccolomattei.api.telegram.serialization.IgnoreClassName;
import me.niccolomattei.api.telegram.serialization.JSONSerializator;
@IgnoreClassName
public class ForceReply implements ReplyMarkup {
public boolean force_reply = true;
public boolean selective;
public ForceReply(boolean selective) {
this.selective = selective;
}
@Override
public String serialize() {
return JSONSerializator.serialize(this);
}
@Override
public JSONObject serializeJson() {
return JSONSerializator.serializeJson(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy