mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-21 16:34:49 +01:00
Update content of files
This commit is contained in:
parent
c75b809c69
commit
02f596abca
8 changed files with 45 additions and 16 deletions
|
@ -114,7 +114,7 @@
|
|||
<a href='/method/account.setPrivacy'>account.setPrivacy</a>#c9f81ce8 key:<a href='/type/InputPrivacyKey'>InputPrivacyKey</a> rules:<a href='/type/Vector%20t'>Vector</a><<a href='/type/InputPrivacyRule'>InputPrivacyRule</a>> = <a href='/type/account.PrivacyRules'>account.PrivacyRules</a>;</code></pre>
|
||||
<p>Privacy <strong>keys</strong> together with <a href="#privacy-rules">privacy rules »</a> indicate <em>what</em> can or can't someone do and are specified by a <a href="/type/PrivacyKey">PrivacyKey</a> constructor, and its input counterpart <a href="/type/InputPrivacyKey">InputPrivacyKey</a>.<br>
|
||||
<a href="/type/InputPrivacyKey">InputPrivacyKey</a> constructors are <em>passed</em> as input to methods that accept privacy keys, while <a href="/type/PrivacyKey">PrivacyKey</a>s are contained in constructors <em>returned</em> by the API. </p>
|
||||
<p>See <a href="/type/InputPrivacyRule">the type page »</a> for a full list of privacy keys and their descriptions. </p>
|
||||
<p>See <a href="/type/InputPrivacyKey">the type page »</a> for a full list of privacy keys and their descriptions. </p>
|
||||
<p>Use <a href="/method/account.getPrivacy">account.getPrivacy</a> to obtain the current set of <a href="#privacy-rules">rules</a> associated to a key, and <a href="/method/account.setPrivacy">account.setPrivacy</a> to change it.</p>
|
||||
<p>Changing the privacy settings will trigger an <a href="/constructor/updatePrivacy">updatePrivacy</a>, sent to all currently logged in sessions of the current account.</p>
|
||||
<h3><a class="anchor" href="#global-privacy-settings" id="global-privacy-settings" name="global-privacy-settings"><i class="anchor-icon"></i></a>Global privacy settings</h3>
|
||||
|
|
|
@ -43,7 +43,8 @@
|
|||
<h1 id="dev_page_title">inputPrivacyKeyStatusTimestamp</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Whether people will be able to see our exact last online timestamp.</p>
|
||||
<p>Note that if <em>we</em> decide to hide our exact last online timestamp to someone <strong>and</strong> we do not have a <a href="/api/premium">Premium</a> subscription, we won't be able to see the exact last online timestamp of <em>any</em> user, including those that do share it with us.</p>
|
||||
<p>Note that if <em>we</em> decide to hide our exact last online timestamp to someone (i.e., users A, B, C, or all users) <strong>and</strong> we do not have a <a href="/api/premium">Premium</a> 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 <em>do</em> share it with us.</p>
|
||||
<p>If those users <em>do</em> share their exact online status with us, but we can't see it due to the reason mentioned above, the <code>by_me</code> flag of <a href="/constructor/userStatusRecently">userStatusRecently</a>, <a href="/constructor/userStatusLastWeek">userStatusLastWeek</a>, <a href="/constructor/userStatusLastMonth">userStatusLastMonth</a> will be set.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>privacyKeyStatusTimestamp</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="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.">
|
||||
<meta property="description" content="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.">
|
||||
<meta property="og:title" content="privacyKeyStatusTimestamp">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="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.">
|
||||
<meta property="og:description" content="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.">
|
||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||
|
@ -43,7 +43,8 @@
|
|||
<h1 id="dev_page_title">privacyKeyStatusTimestamp</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Whether we can see the last online timestamp of this user.</p>
|
||||
<p>Note that if <em>we</em> decide to hide our exact last online timestamp to someone <strong>and</strong> we do not have a <a href="/api/premium">Premium</a> subscription, we won't be able to see the exact last online timestamp of <em>any</em> user, including those that do share it with us.</p>
|
||||
<p>Note that if <em>we</em> decide to hide our exact last online timestamp to someone (i.e., users A, B, C, or all users) <strong>and</strong> we do not have a <a href="/api/premium">Premium</a> 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 <em>do</em> share it with us.</p>
|
||||
<p>If those users <em>do</em> share their exact online status with us, but we can't see it due to the reason mentioned above, the <code>by_me</code> flag of <a href="/constructor/userStatusRecently">userStatusRecently</a>, <a href="/constructor/userStatusLastWeek">userStatusLastWeek</a>, <a href="/constructor/userStatusLastMonth">userStatusLastMonth</a> will be set.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -63,7 +64,13 @@
|
|||
<p><a href="/type/PrivacyKey">PrivacyKey</a></p>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4>
|
||||
<p>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.</p></div>
|
||||
<p>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.</p>
|
||||
<h4><a class="anchor" href="#userstatusrecently" id="userstatusrecently" name="userstatusrecently"><i class="anchor-icon"></i></a><a href="/constructor/userStatusRecently">userStatusRecently</a></h4>
|
||||
<p>Online status: last seen recently</p>
|
||||
<h4><a class="anchor" href="#userstatuslastweek" id="userstatuslastweek" name="userstatuslastweek"><i class="anchor-icon"></i></a><a href="/constructor/userStatusLastWeek">userStatusLastWeek</a></h4>
|
||||
<p>Online status: last seen last week</p>
|
||||
<h4><a class="anchor" href="#userstatuslastmonth" id="userstatuslastmonth" name="userstatuslastmonth"><i class="anchor-icon"></i></a><a href="/constructor/userStatusLastMonth">userStatusLastMonth</a></h4>
|
||||
<p>Online status: last seen last month</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -74,12 +74,19 @@
|
|||
<tr>
|
||||
<td><strong>by_me</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/constructor/true">true</a></td>
|
||||
<td> </td>
|
||||
<td>If set, the exact user status of this user is actually available to us, but to view it we must first purchase a <a href="/api/premium">Premium</a> subscription, or allow this user to see <em>our</em> exact last online status. See <a href="/constructor/privacyKeyStatusTimestamp">here »</a> for more info.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/UserStatus">UserStatus</a></p></div>
|
||||
<p><a href="/type/UserStatus">UserStatus</a></p>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4>
|
||||
<p>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.</p>
|
||||
<h4><a class="anchor" href="#privacykeystatustimestamp" id="privacykeystatustimestamp" name="privacykeystatustimestamp"><i class="anchor-icon"></i></a><a href="/constructor/privacyKeyStatusTimestamp">privacyKeyStatusTimestamp</a></h4>
|
||||
<p>Whether we can see the last online timestamp of this user.</p>
|
||||
<p>Note that if <em>we</em> decide to hide our exact last online timestamp to someone (i.e., users A, B, C, or all users) <strong>and</strong> we do not have a <a href="/api/premium">Premium</a> 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 <em>do</em> share it with us.</p>
|
||||
<p>If those users <em>do</em> share their exact online status with us, but we can't see it due to the reason mentioned above, the <code>by_me</code> flag of <a href="/constructor/userStatusRecently">userStatusRecently</a>, <a href="/constructor/userStatusLastWeek">userStatusLastWeek</a>, <a href="/constructor/userStatusLastMonth">userStatusLastMonth</a>.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -74,12 +74,19 @@
|
|||
<tr>
|
||||
<td><strong>by_me</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/constructor/true">true</a></td>
|
||||
<td> </td>
|
||||
<td>If set, the exact user status of this user is actually available to us, but to view it we must first purchase a <a href="/api/premium">Premium</a> subscription, or allow this user to see <em>our</em> exact last online status. See <a href="/constructor/privacyKeyStatusTimestamp">here »</a> for more info.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/UserStatus">UserStatus</a></p></div>
|
||||
<p><a href="/type/UserStatus">UserStatus</a></p>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4>
|
||||
<p>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.</p>
|
||||
<h4><a class="anchor" href="#privacykeystatustimestamp" id="privacykeystatustimestamp" name="privacykeystatustimestamp"><i class="anchor-icon"></i></a><a href="/constructor/privacyKeyStatusTimestamp">privacyKeyStatusTimestamp</a></h4>
|
||||
<p>Whether we can see the last online timestamp of this user.</p>
|
||||
<p>Note that if <em>we</em> decide to hide our exact last online timestamp to someone (i.e., users A, B, C, or all users) <strong>and</strong> we do not have a <a href="/api/premium">Premium</a> 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 <em>do</em> share it with us.</p>
|
||||
<p>If those users <em>do</em> share their exact online status with us, but we can't see it due to the reason mentioned above, the <code>by_me</code> flag of <a href="/constructor/userStatusRecently">userStatusRecently</a>, <a href="/constructor/userStatusLastWeek">userStatusLastWeek</a>, <a href="/constructor/userStatusLastMonth">userStatusLastMonth</a>.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -74,12 +74,19 @@
|
|||
<tr>
|
||||
<td><strong>by_me</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/constructor/true">true</a></td>
|
||||
<td> </td>
|
||||
<td>If set, the exact user status of this user is actually available to us, but to view it we must first purchase a <a href="/api/premium">Premium</a> subscription, or allow this user to see <em>our</em> exact last online status. See <a href="/constructor/privacyKeyStatusTimestamp">here »</a> for more info.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/UserStatus">UserStatus</a></p></div>
|
||||
<p><a href="/type/UserStatus">UserStatus</a></p>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4>
|
||||
<p>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.</p>
|
||||
<h4><a class="anchor" href="#privacykeystatustimestamp" id="privacykeystatustimestamp" name="privacykeystatustimestamp"><i class="anchor-icon"></i></a><a href="/constructor/privacyKeyStatusTimestamp">privacyKeyStatusTimestamp</a></h4>
|
||||
<p>Whether we can see the last online timestamp of this user.</p>
|
||||
<p>Note that if <em>we</em> decide to hide our exact last online timestamp to someone (i.e., users A, B, C, or all users) <strong>and</strong> we do not have a <a href="/api/premium">Premium</a> 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 <em>do</em> share it with us.</p>
|
||||
<p>If those users <em>do</em> share their exact online status with us, but we can't see it due to the reason mentioned above, the <code>by_me</code> flag of <a href="/constructor/userStatusRecently">userStatusRecently</a>, <a href="/constructor/userStatusLastWeek">userStatusLastWeek</a>, <a href="/constructor/userStatusLastMonth">userStatusLastMonth</a>.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/users.getIsPremiumRequiredToContact" >users.getIsPremiumRequiredToContact</a></li></ul></div>
|
||||
<h1 id="dev_page_title">users.getIsPremiumRequiredToContact</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Check whether we can write to the specified user (non-<a href="/api/premium">Premium</a> users only), see <a href="/api/privacy#require-premium-for-new-non-contact-users">here »</a> for more info on the full flow.</p>
|
||||
<div id="dev_page_content"><p>Check whether we can write to the specified user (this method can only be called by non-<a href="/api/premium">Premium</a> users), see <a href="/api/privacy#require-premium-for-new-non-contact-users">here »</a> for more info on the full flow.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
|
Loading…
Add table
Reference in a new issue