Package it.tdlight.jni
Class TdApi.UserPrivacySettingRules
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.UserPrivacySettingRules
- Enclosing class:
- TdApi
public static class TdApi.UserPrivacySettingRules extends TdApi.Object
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
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.UserPrivacySettingRule[]
rules
A list of rules. -
Constructor Summary
Constructors Constructor Description UserPrivacySettingRules()
A list of privacy rules.UserPrivacySettingRules(TdApi.UserPrivacySettingRule[] rules)
A list of privacy rules.UserPrivacySettingRules(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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:
- Constant Field Values
-
-
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
- 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()
-