Package it.tdlight.jni
Class TdApi.SetUserPrivacySettingRules
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.SetUserPrivacySettingRules
- Enclosing class:
- TdApi
public static class TdApi.SetUserPrivacySettingRules extends TdApi.Function
Changes user privacy settings.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.UserPrivacySettingRules
rules
The new privacy rules.TdApi.UserPrivacySetting
setting
The privacy setting. -
Constructor Summary
Constructors Constructor Description SetUserPrivacySettingRules()
Changes user privacy settings.SetUserPrivacySettingRules(TdApi.UserPrivacySetting setting, TdApi.UserPrivacySettingRules rules)
Changes user privacy settings.SetUserPrivacySettingRules(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
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
- 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()
-