public static class TdApi.ChatEventHasProtectedContentToggled extends TdApi.ChatEventAction
TdApi.ChatEventAction.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
hasProtectedContent
New value of hasProtectedContent.
|
Constructor and Description |
---|
ChatEventHasProtectedContentToggled()
The hasProtectedContent setting of a channel was toggled.
|
ChatEventHasProtectedContentToggled(boolean hasProtectedContent)
The hasProtectedContent setting of a channel was toggled.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public boolean hasProtectedContent
public static final int CONSTRUCTOR
public ChatEventHasProtectedContentToggled()
public ChatEventHasProtectedContentToggled(boolean hasProtectedContent)
hasProtectedContent
- New value of hasProtectedContent.public int getConstructor()
getConstructor
in class TdApi.ChatEventAction