UserPrivacySetting
public indirect enum UserPrivacySetting : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Describes available user privacy settings
-
A privacy setting for managing whether the user’s online status is visible
Declaration
Swift
case showStatus
-
A privacy setting for managing whether the user’s profile photo is visible
Declaration
Swift
case showProfilePhoto
-
A privacy setting for managing whether a link to the user’s account is included in forwarded messages
Declaration
Swift
case showLinkInForwardedMessages
-
A privacy setting for managing whether the user’s phone number is visible
Declaration
Swift
case showPhoneNumber
-
A privacy setting for managing whether the user can be invited to chats
Declaration
Swift
case allowChatInvites
-
A privacy setting for managing whether the user can be called
Declaration
Swift
case allowCalls
-
A privacy setting for managing whether peer-to-peer connections can be used for calls
Declaration
Swift
case allowPeerToPeerCalls
-
A privacy setting for managing whether the user can be found by their phone number. Checked only if the phone number is not known to the other user. Can be set only to “Allow contacts” or “Allow all”
Declaration
Swift
case allowFindingByPhoneNumber