# 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 final class`
`TdApi.UserPrivacySettingAllowCalls`
A privacy setting for managing whether the user can be called.
`static final class`
`TdApi.UserPrivacySettingAllowChatInvites`
A privacy setting for managing whether the user can be invited to chats.
`static final class`
`TdApi.UserPrivacySettingAllowFindingByPhoneNumber`
A privacy setting for managing whether the user can be found by their phone number.
`static final class`
`TdApi.UserPrivacySettingAllowPeerToPeerCalls`
A privacy setting for managing whether peer-to-peer connections can be used for calls.
`static final class`
`TdApi.UserPrivacySettingAllowPrivateVoiceAndVideoNoteMessages`
A privacy setting for managing whether the user can receive voice and video messages in private chats; for Telegram Premium users only.
`static final class`
`TdApi.UserPrivacySettingShowBio`
A privacy setting for managing whether the user's bio is visible.
`static final class`
`TdApi.UserPrivacySettingShowLinkInForwardedMessages`
A privacy setting for managing whether a link to the user's account is included in forwarded messages.
`static final class`
`TdApi.UserPrivacySettingShowPhoneNumber`
A privacy setting for managing whether the user's phone number is visible.
`static final class`
`TdApi.UserPrivacySettingShowProfilePhoto`
A privacy setting for managing whether the user's profile photo is visible.
`static final 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
Modifier
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.