public static class TdApi.UpdateChatHasProtectedContent extends TdApi.Update
TdApi.Update.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.Update