Package org.drinkless.tdlib
Class TdApi.UpdateChatHasProtectedContent
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Update
-
- org.drinkless.tdlib.TdApi.UpdateChatHasProtectedContent
-
- Enclosing class:
- TdApi
public static class TdApi.UpdateChatHasProtectedContent extends TdApi.Update
A chat content was allowed or restricted for saving.
-
-
Field Summary
Fields Modifier and Type Field Description longchatIdChat identifier.static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanhasProtectedContentNew value of hasProtectedContent.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Chat identifier.
-
hasProtectedContent
public boolean hasProtectedContent
New value of hasProtectedContent.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UpdateChatHasProtectedContent
public UpdateChatHasProtectedContent()
A chat content was allowed or restricted for saving.
-
UpdateChatHasProtectedContent
public UpdateChatHasProtectedContent(long chatId, boolean hasProtectedContent)A chat content was allowed or restricted for saving.- Parameters:
chatId- Chat identifier.hasProtectedContent- New value of hasProtectedContent.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-