Package org.drinkless.tdlib
Class TdApi.ChatEventHasProtectedContentToggled
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatEventAction
org.drinkless.tdlib.TdApi.ChatEventHasProtectedContentToggled
- Enclosing class:
- TdApi
The hasProtectedContent setting of a channel was toggled.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanNew value of hasProtectedContent. -
Constructor Summary
ConstructorsConstructorDescriptionThe hasProtectedContent setting of a channel was toggled.ChatEventHasProtectedContentToggled(boolean hasProtectedContent) The hasProtectedContent setting of a channel was toggled. -
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
-
hasProtectedContent
public boolean hasProtectedContentNew value of hasProtectedContent. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatEventHasProtectedContentToggled
public ChatEventHasProtectedContentToggled()The hasProtectedContent setting of a channel was toggled. -
ChatEventHasProtectedContentToggled
public ChatEventHasProtectedContentToggled(boolean hasProtectedContent) The hasProtectedContent setting of a channel was toggled.- Parameters:
hasProtectedContent- New value of hasProtectedContent.
-
-
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
-