Class 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.
    • Constructor Detail

      • UserPrivacySettingRules

        public UserPrivacySettingRules()
        Default constructor.
      • UserPrivacySettingRules

        public UserPrivacySettingRules​(TdApi.UserPrivacySettingRule[] rules)
        Constructor for initialization of all fields.
        Parameters:
        rules - A list of rules.