Class TdApi.MessageChatSetMessageAutoDeleteTime
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.MessageContent
dev.voroby.springframework.telegram.client.TdApi.MessageChatSetMessageAutoDeleteTime
- Enclosing class:
- TdApi
The auto-delete or self-destruct timer for messages in the chat has been changed.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
If not 0, a user identifier, which default setting was automatically applied.int
New value auto-delete or self-destruct time, in seconds; 0 if disabled. -
Constructor Summary
ConstructorDescriptionThe auto-delete or self-destruct timer for messages in the chat has been changed.MessageChatSetMessageAutoDeleteTime
(int messageAutoDeleteTime, long fromUserId) The auto-delete or self-destruct timer for messages in the chat has been changed. -
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
-
messageAutoDeleteTime
public int messageAutoDeleteTimeNew value auto-delete or self-destruct time, in seconds; 0 if disabled. -
fromUserId
public long fromUserIdIf not 0, a user identifier, which default setting was automatically applied. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageChatSetMessageAutoDeleteTime
public MessageChatSetMessageAutoDeleteTime()The auto-delete or self-destruct timer for messages in the chat has been changed. -
MessageChatSetMessageAutoDeleteTime
public MessageChatSetMessageAutoDeleteTime(int messageAutoDeleteTime, long fromUserId) The auto-delete or self-destruct timer for messages in the chat has been changed.- Parameters:
messageAutoDeleteTime
- New value auto-delete or self-destruct time, in seconds; 0 if disabled.fromUserId
- If not 0, a user identifier, which default setting was automatically applied.
-
-
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
-