public class ForceReply extends java.lang.Object implements ReplyMarkup
OptionalArgs to see how to pass this class as an argument.| Modifier and Type | Method and Description |
|---|---|
static ForceReply |
getNonSelective()
Returns a non-selective instance of this class (
selective is set to false). |
static ForceReply |
getSelective()
Returns a selective instance of this class (
selective is set to true). |
java.lang.String |
serialize()
Serializes this object to a JSON String.
|
java.lang.String |
toString() |
public static ForceReply getSelective()
selective is set to true).public static ForceReply getNonSelective()
selective is set to false).public java.lang.String serialize()
serialize in interface ReplyMarkuppublic java.lang.String toString()
toString in class java.lang.Object