public static class TdApi.UpdateChatHasProtectedContent extends TdApi.Update
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
hasProtectedContent
New value of hasProtectedContent.
|
| Constructor and Description |
|---|
UpdateChatHasProtectedContent()
A chat content was allowed or restricted for saving.
|
UpdateChatHasProtectedContent(long chatId,
boolean hasProtectedContent)
A chat content was allowed or restricted for saving.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public boolean hasProtectedContent
public static final int CONSTRUCTOR
public UpdateChatHasProtectedContent()
public UpdateChatHasProtectedContent(long chatId,
boolean hasProtectedContent)
chatId - Chat identifier.hasProtectedContent - New value of hasProtectedContent.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object