Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonami committed Feb 2, 2024
0 parents commit 9218e4c
Show file tree
Hide file tree
Showing 2,372 changed files with 48,916 additions and 0 deletions.
44 changes: 44 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html><head>
<title>Oopsie! | Telethon</title>

<meta charset="utf-8">
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
body {
background-color: #f0f4f8;
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
div {
width: 560px;
margin: 5em auto;
padding: 50px;
background-color: #fff;
border-radius: 1em;
}
a:link, a:visited {
color: #38488f;
text-decoration: none;
}
@media (max-width: 700px) {
body {
background-color: #fff;
}
div {
width: auto;
margin: 0 auto;
border-radius: 0;
padding: 1em;
}
}
</style>
</head>
<body>
<div>
<h1>You seem a bit lost…</h1>
<p>You seem to be lost! Don't worry, that's just Telegram's API being
itself. Shall we go back to the <a href="index.html">Main Page</a>?</p>
</div>
</body>
</html>
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tl.telethon.dev
18 changes: 18 additions & 0 deletions constructors/access_point_rule.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AccessPointRule</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link id="style" href="../css/docs.dark.css" rel="stylesheet">
<script>
document.getElementById("style").href = "../css/docs."
+ (localStorage.getItem("theme") || "light")
+ ".css";
</script>
<link href="https://fonts.googleapis.com/css?family=Nunito|Source+Code+Pro"
rel="stylesheet">
</head>
<body>
<div id="main_div"><ul class="horizontal"><li><a href="../index.html">API</a></li><img src="../img/arrow.svg" alt="/" /><li><a href="index.html">Constructors</a></li><img src="../img/arrow.svg" alt="/" /><li><a href="access_point_rule.html">AccessPointRule</a></li></ul><h1>AccessPointRule</h1><pre>---types---
accessPointRule#4679b65f phone_prefix_rules:<a href="../index.html#string">string</a> dc_id:<a href="../index.html#int">int</a> ips:<a href="../index.html#vector">Vector</a>&lt;<a href="../types/ip_port.html">IpPort</a>&gt; = <a href="../types/access_point_rule.html">AccessPointRule</a></pre><button onclick="cp('from telethon.tl.types import AccessPointRule');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../types/access_point_rule.html">AccessPointRule</a></td></tr></table><p>This type can only be an instance of:</p><table><tr><td><a href="access_point_rule.html">AccessPointRule</a></td></tr></table><h3>Members</h3><table><tr><td><b>phone_prefix_rules</b></td><td style="text-align:center"><a href="../index.html#string">string</a></td><td></td></tr><tr><td><b>dc_id</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>ips</b></td><td style="text-align:center"><a href="../types/ip_port.html">IpPort</a></td><td>A <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr></table><textarea id="c" class="invisible"></textarea><script>function cp(t){var c=document.getElementById("c");c.value=t;c.select();try{document.execCommand("copy")}catch(e){}}</script></div><script>prependPath = "../";</script><script src="../js/search.js"></script></body></html>
18 changes: 18 additions & 0 deletions constructors/account/authorization_form.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AuthorizationForm</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link id="style" href="../../css/docs.dark.css" rel="stylesheet">
<script>
document.getElementById("style").href = "../../css/docs."
+ (localStorage.getItem("theme") || "light")
+ ".css";
</script>
<link href="https://fonts.googleapis.com/css?family=Nunito|Source+Code+Pro"
rel="stylesheet">
</head>
<body>
<div id="main_div"><ul class="horizontal"><li><a href="../../index.html">API</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="../index.html">Constructors</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="index.html">Account</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="authorization_form.html">AuthorizationForm</a></li></ul><h1>AuthorizationForm</h1><pre>---types---
account.authorizationForm#ad2e1cd8 flags:# required_types:<a href="../../index.html#vector">Vector</a>&lt;<a href="../../types/secure_required_type.html">SecureRequiredType</a>&gt; values:<a href="../../index.html#vector">Vector</a>&lt;<a href="../../types/secure_value.html">SecureValue</a>&gt; errors:<a href="../../index.html#vector">Vector</a>&lt;<a href="../../types/secure_value_error.html">SecureValueError</a>&gt; users:<a href="../../index.html#vector">Vector</a>&lt;<a href="../../types/user.html">User</a>&gt; privacy_policy_url:flags.0?<a href="../../index.html#string">string</a> = <a href="../../types/account/authorization_form.html">account.AuthorizationForm</a></pre><button onclick="cp('from telethon.tl.types.account import AuthorizationForm');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../../types/account/authorization_form.html">account.AuthorizationForm</a></td></tr></table><p>This type can only be an instance of:</p><table><tr><td><a href="authorization_form.html">AuthorizationForm</a></td></tr></table><h3>Members</h3><table><tr><td><b>required_types</b></td><td style="text-align:center"><a href="../../types/secure_required_type.html">SecureRequiredType</a></td><td>A <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr><tr><td><b>values</b></td><td style="text-align:center"><a href="../../types/secure_value.html">SecureValue</a></td><td>A <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr><tr><td><b>errors</b></td><td style="text-align:center"><a href="../../types/secure_value_error.html">SecureValueError</a></td><td>A <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr><tr><td><b>users</b></td><td style="text-align:center"><a href="../../types/user.html">User</a></td><td>A <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr><tr><td><b>privacy_policy_url</b></td><td style="text-align:center"><a href="../../index.html#string">string</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr></table><textarea id="c" class="invisible"></textarea><script>function cp(t){var c=document.getElementById("c");c.value=t;c.select();try{document.execCommand("copy")}catch(e){}}</script></div><script>prependPath = "../../";</script><script src="../../js/search.js"></script></body></html>
18 changes: 18 additions & 0 deletions constructors/account/authorizations.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Authorizations</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link id="style" href="../../css/docs.dark.css" rel="stylesheet">
<script>
document.getElementById("style").href = "../../css/docs."
+ (localStorage.getItem("theme") || "light")
+ ".css";
</script>
<link href="https://fonts.googleapis.com/css?family=Nunito|Source+Code+Pro"
rel="stylesheet">
</head>
<body>
<div id="main_div"><ul class="horizontal"><li><a href="../../index.html">API</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="../index.html">Constructors</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="index.html">Account</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="authorizations.html">Authorizations</a></li></ul><h1>Authorizations</h1><pre>---types---
account.authorizations#4bff8ea0 authorization_ttl_days:<a href="../../index.html#int">int</a> authorizations:<a href="../../index.html#vector">Vector</a>&lt;<a href="../../types/authorization.html">Authorization</a>&gt; = <a href="../../types/account/authorizations.html">account.Authorizations</a></pre><button onclick="cp('from telethon.tl.types.account import Authorizations');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../../types/account/authorizations.html">account.Authorizations</a></td></tr></table><p>This type can only be an instance of:</p><table><tr><td><a href="authorizations.html">Authorizations</a></td></tr></table><h3>Members</h3><table><tr><td><b>authorization_ttl_days</b></td><td style="text-align:center"><a href="../../index.html#int">int</a></td><td></td></tr><tr><td><b>authorizations</b></td><td style="text-align:center"><a href="../../types/authorization.html">Authorization</a></td><td>A <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr></table><textarea id="c" class="invisible"></textarea><script>function cp(t){var c=document.getElementById("c");c.value=t;c.select();try{document.execCommand("copy")}catch(e){}}</script></div><script>prependPath = "../../";</script><script src="../../js/search.js"></script></body></html>
18 changes: 18 additions & 0 deletions constructors/account/auto_download_settings.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AutoDownloadSettings</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link id="style" href="../../css/docs.dark.css" rel="stylesheet">
<script>
document.getElementById("style").href = "../../css/docs."
+ (localStorage.getItem("theme") || "light")
+ ".css";
</script>
<link href="https://fonts.googleapis.com/css?family=Nunito|Source+Code+Pro"
rel="stylesheet">
</head>
<body>
<div id="main_div"><ul class="horizontal"><li><a href="../../index.html">API</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="../index.html">Constructors</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="index.html">Account</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="auto_download_settings.html">AutoDownloadSettings</a></li></ul><h1>AutoDownloadSettings</h1><pre>---types---
account.autoDownloadSettings#63cacf26 low:<a href="../../types/auto_download_settings.html">AutoDownloadSettings</a> medium:<a href="../../types/auto_download_settings.html">AutoDownloadSettings</a> high:<a href="../../types/auto_download_settings.html">AutoDownloadSettings</a> = <a href="../../types/account/auto_download_settings.html">account.AutoDownloadSettings</a></pre><button onclick="cp('from telethon.tl.types.account import AutoDownloadSettings');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../../types/account/auto_download_settings.html">account.AutoDownloadSettings</a></td></tr></table><p>This type can only be an instance of:</p><table><tr><td><a href="auto_download_settings.html">AutoDownloadSettings</a></td></tr></table><h3>Members</h3><table><tr><td><b>low</b></td><td style="text-align:center"><a href="../../types/auto_download_settings.html">AutoDownloadSettings</a></td><td></td></tr><tr><td><b>medium</b></td><td style="text-align:center"><a href="../../types/auto_download_settings.html">AutoDownloadSettings</a></td><td></td></tr><tr><td><b>high</b></td><td style="text-align:center"><a href="../../types/auto_download_settings.html">AutoDownloadSettings</a></td><td></td></tr></table><textarea id="c" class="invisible"></textarea><script>function cp(t){var c=document.getElementById("c");c.value=t;c.select();try{document.execCommand("copy")}catch(e){}}</script></div><script>prependPath = "../../";</script><script src="../../js/search.js"></script></body></html>
18 changes: 18 additions & 0 deletions constructors/account/auto_save_settings.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AutoSaveSettings</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link id="style" href="../../css/docs.dark.css" rel="stylesheet">
<script>
document.getElementById("style").href = "../../css/docs."
+ (localStorage.getItem("theme") || "light")
+ ".css";
</script>
<link href="https://fonts.googleapis.com/css?family=Nunito|Source+Code+Pro"
rel="stylesheet">
</head>
<body>
<div id="main_div"><ul class="horizontal"><li><a href="../../index.html">API</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="../index.html">Constructors</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="index.html">Account</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="auto_save_settings.html">AutoSaveSettings</a></li></ul><h1>AutoSaveSettings</h1><pre>---types---
account.autoSaveSettings#4c3e069d users_settings:<a href="../../types/auto_save_settings.html">AutoSaveSettings</a> chats_settings:<a href="../../types/auto_save_settings.html">AutoSaveSettings</a> broadcasts_settings:<a href="../../types/auto_save_settings.html">AutoSaveSettings</a> exceptions:<a href="../../index.html#vector">Vector</a>&lt;<a href="../../types/auto_save_exception.html">AutoSaveException</a>&gt; chats:<a href="../../index.html#vector">Vector</a>&lt;<a href="../../types/chat.html">Chat</a>&gt; users:<a href="../../index.html#vector">Vector</a>&lt;<a href="../../types/user.html">User</a>&gt; = <a href="../../types/account/auto_save_settings.html">account.AutoSaveSettings</a></pre><button onclick="cp('from telethon.tl.types.account import AutoSaveSettings');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../../types/account/auto_save_settings.html">account.AutoSaveSettings</a></td></tr></table><p>This type can only be an instance of:</p><table><tr><td><a href="auto_save_settings.html">AutoSaveSettings</a></td></tr></table><h3>Members</h3><table><tr><td><b>users_settings</b></td><td style="text-align:center"><a href="../../types/auto_save_settings.html">AutoSaveSettings</a></td><td></td></tr><tr><td><b>chats_settings</b></td><td style="text-align:center"><a href="../../types/auto_save_settings.html">AutoSaveSettings</a></td><td></td></tr><tr><td><b>broadcasts_settings</b></td><td style="text-align:center"><a href="../../types/auto_save_settings.html">AutoSaveSettings</a></td><td></td></tr><tr><td><b>exceptions</b></td><td style="text-align:center"><a href="../../types/auto_save_exception.html">AutoSaveException</a></td><td>A <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr><tr><td><b>chats</b></td><td style="text-align:center"><a href="../../types/chat.html">Chat</a></td><td>A <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr><tr><td><b>users</b></td><td style="text-align:center"><a href="../../types/user.html">User</a></td><td>A <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr></table><textarea id="c" class="invisible"></textarea><script>function cp(t){var c=document.getElementById("c");c.value=t;c.select();try{document.execCommand("copy")}catch(e){}}</script></div><script>prependPath = "../../";</script><script src="../../js/search.js"></script></body></html>
18 changes: 18 additions & 0 deletions constructors/account/content_settings.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ContentSettings</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link id="style" href="../../css/docs.dark.css" rel="stylesheet">
<script>
document.getElementById("style").href = "../../css/docs."
+ (localStorage.getItem("theme") || "light")
+ ".css";
</script>
<link href="https://fonts.googleapis.com/css?family=Nunito|Source+Code+Pro"
rel="stylesheet">
</head>
<body>
<div id="main_div"><ul class="horizontal"><li><a href="../../index.html">API</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="../index.html">Constructors</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="index.html">Account</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="content_settings.html">ContentSettings</a></li></ul><h1>ContentSettings</h1><pre>---types---
account.contentSettings#57e28221 flags:# sensitive_enabled:flags.0?<a href="../../index.html#true">true</a> sensitive_can_change:flags.1?<a href="../../index.html#true">true</a> = <a href="../../types/account/content_settings.html">account.ContentSettings</a></pre><button onclick="cp('from telethon.tl.types.account import ContentSettings');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../../types/account/content_settings.html">account.ContentSettings</a></td></tr></table><p>This type can only be an instance of:</p><table><tr><td><a href="content_settings.html">ContentSettings</a></td></tr></table><h3>Members</h3><table><tr><td><b>sensitive_enabled</b></td><td style="text-align:center"><a href="../../index.html#true">flag</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>sensitive_can_change</b></td><td style="text-align:center"><a href="../../index.html#true">flag</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr></table><textarea id="c" class="invisible"></textarea><script>function cp(t){var c=document.getElementById("c");c.value=t;c.select();try{document.execCommand("copy")}catch(e){}}</script></div><script>prependPath = "../../";</script><script src="../../js/search.js"></script></body></html>
18 changes: 18 additions & 0 deletions constructors/account/email_verified.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>EmailVerified</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link id="style" href="../../css/docs.dark.css" rel="stylesheet">
<script>
document.getElementById("style").href = "../../css/docs."
+ (localStorage.getItem("theme") || "light")
+ ".css";
</script>
<link href="https://fonts.googleapis.com/css?family=Nunito|Source+Code+Pro"
rel="stylesheet">
</head>
<body>
<div id="main_div"><ul class="horizontal"><li><a href="../../index.html">API</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="../index.html">Constructors</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="index.html">Account</a></li><img src="../../img/arrow.svg" alt="/" /><li><a href="email_verified.html">EmailVerified</a></li></ul><h1>EmailVerified</h1><pre>---types---
account.emailVerified#2b96cd1b email:<a href="../../index.html#string">string</a> = <a href="../../types/account/email_verified.html">account.EmailVerified</a></pre><button onclick="cp('from telethon.tl.types.account import EmailVerified');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../../types/account/email_verified.html">account.EmailVerified</a></td></tr></table><p>This type can be an instance of either:</p><table><tr><td><a href="email_verified.html">EmailVerified</a></td><td><a href="email_verified_login.html">EmailVerifiedLogin</a></td></tr></table><h3>Members</h3><table><tr><td><b>email</b></td><td style="text-align:center"><a href="../../index.html#string">string</a></td><td></td></tr></table><textarea id="c" class="invisible"></textarea><script>function cp(t){var c=document.getElementById("c");c.value=t;c.select();try{document.execCommand("copy")}catch(e){}}</script></div><script>prependPath = "../../";</script><script src="../../js/search.js"></script></body></html>

0 comments on commit 9218e4c

Please sign in to comment.