public class ForceReplyKeyboard extends Object implements ReplyKeyboard
| Constructor and Description |
|---|
ForceReplyKeyboard() |
ForceReplyKeyboard(org.json.JSONObject jsonObject) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getForceReply() |
Boolean |
getSelective() |
void |
serialize(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
void |
serializeWithType(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) |
ForceReplyKeyboard |
setSelective(Boolean selective) |
org.json.JSONObject |
toJson()
Convert to json object
|
String |
toString() |
void |
validate()
Validates that mandatory fields are filled and optional objects
|
public ForceReplyKeyboard()
public ForceReplyKeyboard(org.json.JSONObject jsonObject)
public Boolean getForceReply()
public Boolean getSelective()
public ForceReplyKeyboard setSelective(Boolean selective)
public void validate()
throws TelegramApiValidationException
Validablevalidate in interface ValidableTelegramApiValidationException - If any mandatory field is emptypublic org.json.JSONObject toJson()
IToJsonpublic void serialize(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers)
throws IOException
serialize in interface com.fasterxml.jackson.databind.JsonSerializableIOExceptionpublic void serializeWithType(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
throws IOException
serializeWithType in interface com.fasterxml.jackson.databind.JsonSerializableIOExceptionCopyright © 2016. All rights reserved.