- Enclosing class:
- TdApi
Changes user privacy settings.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The new privacy rules.The privacy setting. -
Constructor Summary
ConstructorDescriptionChanges user privacy settings.Changes user privacy settings.Changes user privacy settings. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
setting
The privacy setting. -
rules
The new privacy rules. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetUserPrivacySettingRules
public SetUserPrivacySettingRules()Changes user privacy settings.Returns
Ok
-
SetUserPrivacySettingRules
public SetUserPrivacySettingRules(TdApi.UserPrivacySetting setting, TdApi.UserPrivacySettingRules rules) Changes user privacy settings.Returns
Ok
- Parameters:
setting
- UserPrivacySetting The privacy setting.rules
- UserPrivacySettingRules The new privacy rules.
-
SetUserPrivacySettingRules
Changes user privacy settings.Returns
Ok
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-