Class TdApi.SetUserPrivacySettingRules

  • Enclosing class:
    TdApi

    public static class TdApi.SetUserPrivacySettingRules
    extends TdApi.Function
    Changes user privacy settings.

    Returns Ok

    • Constructor Detail

      • SetUserPrivacySettingRules

        public SetUserPrivacySettingRules()
        Default constructor for a function, which changes user privacy settings.

        Returns Ok

      • SetUserPrivacySettingRules

        public SetUserPrivacySettingRules​(TdApi.UserPrivacySetting setting,
                                          TdApi.UserPrivacySettingRules rules)
        Creates a function, which changes user privacy settings.

        Returns Ok

        Parameters:
        setting - The privacy setting.
        rules - The new privacy rules.