Class TdApi.UserPrivacySettingRules

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.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 Details

  • 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

      public UserPrivacySettingRules(TdApi.UserPrivacySettingRule[] rules)
      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 - A list of rules.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR