java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.UserPrivacySettingRules
- Enclosing class:
- TdApi
A list of privacy rules. Rules are
matched in the specified order. The
first matched rule defines the privacy
setting for a given user. If no rule
matches, the action is not allowed.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
A list of rules. -
Constructor Summary
ConstructorDescriptionA list of privacy rules.A list of privacy rules.UserPrivacySettingRules
(DataInput input) A list of privacy rules. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
rules
A list of rules. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
UserPrivacySettingRules
public UserPrivacySettingRules()A list of privacy rules. Rules are matched in the specified order. The first matched rule defines the privacy setting for a given user. If no rule matches, the action is not allowed. -
UserPrivacySettingRules
A list of privacy rules. Rules are matched in the specified order. The first matched rule defines the privacy setting for a given user. If no rule matches, the action is not allowed.- Parameters:
rules
- UserPrivacySettingRule[] A list of rules.
-
UserPrivacySettingRules
A list of privacy rules. Rules are matched in the specified order. The first matched rule defines the privacy setting for a given user. If no rule matches, the action is not allowed.- 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()
-