Class TdApi.MessageSelfDestructTypeTimer
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.MessageSelfDestructType
dev.voroby.springframework.telegram.client.TdApi.MessageSelfDestructTypeTimer
- Enclosing class:
- TdApi
The message will be self-destructed in the specified time after its content was opened.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
The message's self-destruct time, in seconds; must be between 0 and 60 in private chats. -
Constructor Summary
ConstructorDescriptionThe message will be self-destructed in the specified time after its content was opened.MessageSelfDestructTypeTimer
(int selfDestructTime) The message will be self-destructed in the specified time after its content was opened. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
selfDestructTime
public int selfDestructTimeThe message's self-destruct time, in seconds; must be between 0 and 60 in private chats. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageSelfDestructTypeTimer
public MessageSelfDestructTypeTimer()The message will be self-destructed in the specified time after its content was opened. -
MessageSelfDestructTypeTimer
public MessageSelfDestructTypeTimer(int selfDestructTime) The message will be self-destructed in the specified time after its content was opened.- Parameters:
selfDestructTime
- The message's self-destruct time, in seconds; must be between 0 and 60 in private chats.
-
-
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
-