java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ReplyMarkup
it.tdlight.jni.TdApi.ReplyMarkupForceReply
- Enclosing class:
- TdApi
Instructs application to force a reply to this message.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.If non-empty, the placeholder to be shown in the input field when the reply is active; 0-64 characters.boolean
True, if a forced reply must automatically be shown to the current user. -
Constructor Summary
ConstructorDescriptionInstructs application to force a reply to this message.ReplyMarkupForceReply
(boolean isPersonal, String inputFieldPlaceholder) Instructs application to force a reply to this message.ReplyMarkupForceReply
(DataInput input) Instructs application to force a reply to this message. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
isPersonal
public boolean isPersonalTrue, if a forced reply must automatically be shown to the current user. For outgoing messages, specify true to show the forced reply only for the mentioned users and for the target user of a reply. -
inputFieldPlaceholder
If non-empty, the placeholder to be shown in the input field when the reply is active; 0-64 characters. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ReplyMarkupForceReply
public ReplyMarkupForceReply()Instructs application to force a reply to this message. -
ReplyMarkupForceReply
Instructs application to force a reply to this message.- Parameters:
isPersonal
- True, if a forced reply must automatically be shown to the current user. For outgoing messages, specify true to show the forced reply only for the mentioned users and for the target user of a reply.inputFieldPlaceholder
- If non-empty, the placeholder to be shown in the input field when the reply is active; 0-64 characters.
-
ReplyMarkupForceReply
Instructs application to force a reply to this message.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-