# Uses of Class it.tdlight.jni.TdApi.UserPrivacySetting (tdlight API 3.3.160 API)
use: package: it.tdlight.jni, class: TdApi, class: UserPrivacySetting

# Uses of Class
it.tdlight.jni.TdApi.UserPrivacySetting

## Uses of TdApi.UserPrivacySetting in it.tdlight.jni

Subclasses of TdApi.UserPrivacySetting in it.tdlight.jni
Modifier and Type | Class | Description
--- | --- | ---
`static class` | `TdApi.UserPrivacySettingAllowCalls` | A privacy setting for managing whether the user can be called.
`static class` | `TdApi.UserPrivacySettingAllowChatInvites` | A privacy setting for managing whether the user can be invited to chats.
`static class` | `TdApi.UserPrivacySettingAllowFindingByPhoneNumber` | A privacy setting for managing whether the user can be found by their phone number.
`static class` | `TdApi.UserPrivacySettingAllowPeerToPeerCalls` | A privacy setting for managing whether peer-to-peer connections can be used for calls.
`static class` | `TdApi.UserPrivacySettingShowLinkInForwardedMessages` | A privacy setting for managing whether a link to the user's account is included in forwarded messages.
`static class` | `TdApi.UserPrivacySettingShowPhoneNumber` | A privacy setting for managing whether the user's phone number is visible.
`static class` | `TdApi.UserPrivacySettingShowProfilePhoto` | A privacy setting for managing whether the user's profile photo is visible.
`static class` | `TdApi.UserPrivacySettingShowStatus` | A privacy setting for managing whether the user's online status is visible.

Fields in it.tdlight.jni declared as TdApi.UserPrivacySetting
Modifier and Type | Field | Description
--- | --- | ---
`TdApi.UserPrivacySetting` | TdApi.GetUserPrivacySettingRules.`setting` | The privacy setting.
`TdApi.UserPrivacySetting` | TdApi.SetUserPrivacySettingRules.`setting` | The privacy setting.
`TdApi.UserPrivacySetting` | TdApi.UpdateUserPrivacySettingRules.`setting` | The privacy setting.

Constructors in it.tdlight.jni with parameters of type TdApi.UserPrivacySetting
Constructor | Description
--- | ---
`GetUserPrivacySettingRules​(TdApi.UserPrivacySetting setting)` | Returns the current privacy settings.
`SetUserPrivacySettingRules​(TdApi.UserPrivacySetting setting, TdApi.UserPrivacySettingRules rules)` | Changes user privacy settings.
`UpdateUserPrivacySettingRules​(TdApi.UserPrivacySetting setting, TdApi.UserPrivacySettingRules rules)` | Some privacy setting rules have been changed.