Class TdApi.ChatEventHasProtectedContentToggled
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ChatEventAction
dev.voroby.springframework.telegram.client.TdApi.ChatEventHasProtectedContentToggled
- Enclosing class:
- TdApi
The hasProtectedContent setting of a channel was toggled.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
New value of hasProtectedContent. -
Constructor Summary
ConstructorDescriptionThe hasProtectedContent setting of a channel was toggled.ChatEventHasProtectedContentToggled
(boolean hasProtectedContent) The hasProtectedContent setting of a channel was toggled. -
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
-
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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-