Package org.drinkless.tdlib
Class TdApi.MessageChatHasProtectedContentToggled
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageContent
org.drinkless.tdlib.TdApi.MessageChatHasProtectedContentToggled
- Enclosing class:
TdApi
Chat hasProtectedContent setting was changed or request to change it was rejected.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.MessageContent
TdApi.MessageContent.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanNew value of the setting.booleanPrevious value of the setting.longIdentifier of the message with the request to change the setting; can be an identifier of a deleted message or 0. -
Constructor Summary
ConstructorsConstructorDescriptionChat hasProtectedContent setting was changed or request to change it was rejected.MessageChatHasProtectedContentToggled(long requestMessageId, boolean oldHasProtectedContent, boolean newHasProtectedContent) Chat hasProtectedContent setting was changed or request to change it was rejected. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
requestMessageId
public long requestMessageIdIdentifier of the message with the request to change the setting; can be an identifier of a deleted message or 0. -
oldHasProtectedContent
public boolean oldHasProtectedContentPrevious value of the setting. -
newHasProtectedContent
public boolean newHasProtectedContentNew value of the setting. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageChatHasProtectedContentToggled
public MessageChatHasProtectedContentToggled()Chat hasProtectedContent setting was changed or request to change it was rejected. -
MessageChatHasProtectedContentToggled
public MessageChatHasProtectedContentToggled(long requestMessageId, boolean oldHasProtectedContent, boolean newHasProtectedContent) Chat hasProtectedContent setting was changed or request to change it was rejected.- Parameters:
requestMessageId- Identifier of the message with the request to change the setting; can be an identifier of a deleted message or 0.oldHasProtectedContent- Previous value of the setting.newHasProtectedContent- New value of the setting.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.MessageContent- Returns:
- this.CONSTRUCTOR
-