- Enclosing class:
- TdApi
Clears draft messages in all chats.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
If true, local draft messages in secret chats will not be cleared. -
Constructor Summary
ConstructorDescriptionClears draft messages in all chats.ClearAllDraftMessages
(boolean excludeSecretChats) Clears draft messages in all chats.ClearAllDraftMessages
(DataInput input) Clears draft messages in all chats. -
Method Summary
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:
-
-
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
Clears draft messages in all chats.Returns
Ok
- 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()
-