diff --git a/data/web/corefork.telegram.org/api/privacy.html b/data/web/corefork.telegram.org/api/privacy.html index f47c464548..b7f1eaa765 100644 --- a/data/web/corefork.telegram.org/api/privacy.html +++ b/data/web/corefork.telegram.org/api/privacy.html @@ -114,7 +114,7 @@ account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector<InputPrivacyRule> = account.PrivacyRules;
Privacy keys together with privacy rules » indicate what can or can't someone do and are specified by a PrivacyKey constructor, and its input counterpart InputPrivacyKey.
InputPrivacyKey constructors are passed as input to methods that accept privacy keys, while PrivacyKeys are contained in constructors returned by the API.
See the type page » for a full list of privacy keys and their descriptions.
+See the type page » for a full list of privacy keys and their descriptions.
Use account.getPrivacy to obtain the current set of rules associated to a key, and account.setPrivacy to change it.
Changing the privacy settings will trigger an updatePrivacy, sent to all currently logged in sessions of the current account.
Whether people will be able to see our exact last online timestamp.
-Note that if we decide to hide our exact last online timestamp to someone and we do not have a Premium subscription, we won't be able to see the exact last online timestamp of any user, including those that do share it with us.
+Note that if we decide to hide our exact last online timestamp to someone (i.e., users A, B, C, or all users) and we do not have a Premium subscription, we won't be able to see the exact last online timestamp of those users (A, B, C, or all users), even if those users do share it with us.
+If those users do share their exact online status with us, but we can't see it due to the reason mentioned above, the by_me
flag of userStatusRecently, userStatusLastWeek, userStatusLastMonth will be set.
Whether we can see the last online timestamp of this user.
-Note that if we decide to hide our exact last online timestamp to someone and we do not have a Premium subscription, we won't be able to see the exact last online timestamp of any user, including those that do share it with us.
+Note that if we decide to hide our exact last online timestamp to someone (i.e., users A, B, C, or all users) and we do not have a Premium subscription, we won't be able to see the exact last online timestamp of those users (A, B, C, or all users), even if those users do share it with us.
+If those users do share their exact online status with us, but we can't see it due to the reason mentioned above, the by_me
flag of userStatusRecently, userStatusLastWeek, userStatusLastMonth will be set.
Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.
Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.
+Online status: last seen recently
+Online status: last seen last week
+Online status: last seen last month
min
is set, the value of photo
can be used to update the local database, see the documentation of that flag for more info.min
is set, the value of photo
can be used to update the local database, see the documentation of that flag for more info.self
flag is set should also trigger the following calls, to refresh the respective caches: bot
flag is not setself
flag is set should also trigger the following calls, to refresh the respective caches: bot
flag is not setmin_access_hash
, which is: true
if min
is set AND phone
flag is not set OR phone
flag is set and the associated phone number string is non-empty false
otherwise. access_hash
and min_access_hash
to the local database if: min_access_hash
is false OR min_access_hash
is true AND access_hash
in the local cache OR min_access_hash
is also true min_access_hash
field set to true, the related access_hash
is only suitable to use in inputPeerPhotoFileLocation
», to directly download the profile pictures of users, everywhere else a inputPeer*FromMessage
constructor will have to be generated as specified here ». 0
instead of the min access hash.min_access_hash
, which is: true
if min
is set AND phone
flag is not set OR phone
flag is set and the associated phone number string is non-empty false
otherwise. access_hash
and min_access_hash
to the local database if: min_access_hash
is false OR min_access_hash
is true AND access_hash
in the local cache OR min_access_hash
is also true min_access_hash
field set to true, the related access_hash
is only suitable to use in inputPeerPhotoFileLocation
», to directly download the profile pictures of users, everywhere else a inputPeer*FromMessage
constructor will have to be generated as specified here ». 0
instead of the min access hash.Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.
+Whether we can see the last online timestamp of this user.
+Note that if we decide to hide our exact last online timestamp to someone (i.e., users A, B, C, or all users) and we do not have a Premium subscription, we won't be able to see the exact last online timestamp of those users (A, B, C, or all users), even if those users do share it with us.
+If those users do share their exact online status with us, but we can't see it due to the reason mentioned above, the by_me
flag of userStatusRecently, userStatusLastWeek, userStatusLastMonth.
Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.
+Whether we can see the last online timestamp of this user.
+Note that if we decide to hide our exact last online timestamp to someone (i.e., users A, B, C, or all users) and we do not have a Premium subscription, we won't be able to see the exact last online timestamp of those users (A, B, C, or all users), even if those users do share it with us.
+If those users do share their exact online status with us, but we can't see it due to the reason mentioned above, the by_me
flag of userStatusRecently, userStatusLastWeek, userStatusLastMonth.
Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.
+Whether we can see the last online timestamp of this user.
+Note that if we decide to hide our exact last online timestamp to someone (i.e., users A, B, C, or all users) and we do not have a Premium subscription, we won't be able to see the exact last online timestamp of those users (A, B, C, or all users), even if those users do share it with us.
+If those users do share their exact online status with us, but we can't see it due to the reason mentioned above, the by_me
flag of userStatusRecently, userStatusLastWeek, userStatusLastMonth.