Package org.drinkless.tdlib
Class TdApi.SetDefaultMessageAutoDeleteTime
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.SetDefaultMessageAutoDeleteTime
- Enclosing class:
- TdApi
Changes the default message auto-delete time for new chats.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.New default message auto-delete time; must be from 0 up to 365 * 86400 and be divisible by 86400. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes the default message auto-delete time for new chats.SetDefaultMessageAutoDeleteTime(TdApi.MessageAutoDeleteTime messageAutoDeleteTime) Creates a function, which changes the default message auto-delete time for new chats. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
messageAutoDeleteTime
New default message auto-delete time; must be from 0 up to 365 * 86400 and be divisible by 86400. If 0, then messages aren't deleted automatically. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetDefaultMessageAutoDeleteTime
public SetDefaultMessageAutoDeleteTime()Default constructor for a function, which changes the default message auto-delete time for new chats.Returns
Ok -
SetDefaultMessageAutoDeleteTime
Creates a function, which changes the default message auto-delete time for new chats.Returns
Ok- Parameters:
messageAutoDeleteTime- New default message auto-delete time; must be from 0 up to 365 * 86400 and be divisible by 86400. If 0, then messages aren't deleted automatically.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-