Package it.tdlight.jni
Class TdApi.ClearAllDraftMessages
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.ClearAllDraftMessages
- Enclosing class:
- TdApi
public static class TdApi.ClearAllDraftMessages extends TdApi.Function
Clears draft messages in all chats.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
boolean
excludeSecretChats
If true, local draft messages in secret chats will not be cleared. -
Constructor Summary
Constructors Constructor Description ClearAllDraftMessages()
Clears draft messages in all chats.ClearAllDraftMessages(boolean excludeSecretChats)
Clears draft messages in all chats.ClearAllDraftMessages(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
excludeSecretChats
public boolean excludeSecretChatsIf true, local draft messages in secret chats will not be cleared. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ClearAllDraftMessages
public ClearAllDraftMessages()Clears draft messages in all chats.Returns
Ok
-
ClearAllDraftMessages
public ClearAllDraftMessages(boolean excludeSecretChats)Clears draft messages in all chats.Returns
Ok
- Parameters:
excludeSecretChats
- boolean If true, local draft messages in secret chats will not be cleared.
-
ClearAllDraftMessages
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-