Package org.drinkless.tdlib
Class TdApi.ClearAllDraftMessages
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 intCONSTRUCTORIdentifier uniquely determining type of the object.booleanexcludeSecretChatsIf true, local draft messages in secret chats will not be cleared.
-
Constructor Summary
Constructors Constructor Description ClearAllDraftMessages()Default constructor for a function, which clears draft messages in all chats.ClearAllDraftMessages(boolean excludeSecretChats)Creates a function, which clears draft messages in all chats.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
excludeSecretChats
public boolean excludeSecretChats
If true, local draft messages in secret chats will not be cleared.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClearAllDraftMessages
public ClearAllDraftMessages()
Default constructor for a function, which clears draft messages in all chats.Returns
Ok
-
ClearAllDraftMessages
public ClearAllDraftMessages(boolean excludeSecretChats)
Creates a function, which clears draft messages in all chats.Returns
Ok- Parameters:
excludeSecretChats- If true, local draft messages in secret chats will not be cleared.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-