public static class TdApi.SetUserPrivacySettingRules extends TdApi.Function
Returns Ok
TdApi.Function.Constructors| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.UserPrivacySettingRules |
rules
The new privacy rules.
|
TdApi.UserPrivacySetting |
setting
The privacy setting.
|
| Constructor and Description |
|---|
SetUserPrivacySettingRules()
Default constructor for a function, which changes user privacy settings.
|
SetUserPrivacySettingRules(TdApi.UserPrivacySetting setting,
TdApi.UserPrivacySettingRules rules)
Creates a function, which changes user privacy settings.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor() |
toStringpublic TdApi.UserPrivacySetting setting
public TdApi.UserPrivacySettingRules rules
public static final int CONSTRUCTOR
public SetUserPrivacySettingRules()
Returns Ok
public SetUserPrivacySettingRules(TdApi.UserPrivacySetting setting, TdApi.UserPrivacySettingRules rules)
Returns Ok
setting - The privacy setting.rules - The new privacy rules.public int getConstructor()
getConstructor in class TdApi.Function