TelegramAPI/src/main/java/de/mrbesen/telegram/objects/TReplyKeyboardRemove.java

25 lines
483 B
Java

package de.mrbesen.telegram.objects;
import org.json.JSONObject;
public class TReplyKeyboardRemove implements TReplyMarkup {
boolean isSelective = true;
public boolean isSelective() {
return isSelective;
}
public TReplyKeyboardRemove setSelective(boolean isSelective) {
this.isSelective = isSelective;
return this;
}
@Override
public String toJSONString() {
return new JSONObject().put("remove_keyboard", true).put("selective", isSelective).toString();
}
}