public static class TdApi.ChatEventHasProtectedContentToggled extends TdApi.ChatEventAction
| 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean hasProtectedContent
public static final int CONSTRUCTOR
public ChatEventHasProtectedContentToggled()
public ChatEventHasProtectedContentToggled(boolean hasProtectedContent)
hasProtectedContent - New value of hasProtectedContent.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object