Class TdApi.SetDefaultMessageAutoDeleteTime
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.SetDefaultMessageAutoDeleteTime
- Enclosing class:
- TdApi
Changes the default message auto-delete time for new chats.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier 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
ConstructorDescriptionDefault 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-