25 lines
483 B
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();
|
|
}
|
|
|
|
}
|