Telethon/constructors/user.html
2024-11-17 22:32:52 +01:00

18 lines
12 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>User</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="user.html">User</a></li></ul><h1>User</h1><pre>---types---
user#83314fca flags:# is_self:flags.10?<a href="../index.html#true">true</a> contact:flags.11?<a href="../index.html#true">true</a> mutual_contact:flags.12?<a href="../index.html#true">true</a> deleted:flags.13?<a href="../index.html#true">true</a> bot:flags.14?<a href="../index.html#true">true</a> bot_chat_history:flags.15?<a href="../index.html#true">true</a> bot_nochats:flags.16?<a href="../index.html#true">true</a> verified:flags.17?<a href="../index.html#true">true</a> restricted:flags.18?<a href="../index.html#true">true</a> min:flags.20?<a href="../index.html#true">true</a> bot_inline_geo:flags.21?<a href="../index.html#true">true</a> support:flags.23?<a href="../index.html#true">true</a> scam:flags.24?<a href="../index.html#true">true</a> apply_min_photo:flags.25?<a href="../index.html#true">true</a> fake:flags.26?<a href="../index.html#true">true</a> bot_attach_menu:flags.27?<a href="../index.html#true">true</a> premium:flags.28?<a href="../index.html#true">true</a> attach_menu_enabled:flags.29?<a href="../index.html#true">true</a> flags2:# bot_can_edit:flags2.1?<a href="../index.html#true">true</a> close_friend:flags2.2?<a href="../index.html#true">true</a> stories_hidden:flags2.3?<a href="../index.html#true">true</a> stories_unavailable:flags2.4?<a href="../index.html#true">true</a> contact_require_premium:flags2.10?<a href="../index.html#true">true</a> bot_business:flags2.11?<a href="../index.html#true">true</a> bot_has_main_app:flags2.13?<a href="../index.html#true">true</a> id:<a href="../index.html#long">long</a> access_hash:flags.0?<a href="../index.html#long">long</a> first_name:flags.1?<a href="../index.html#string">string</a> last_name:flags.2?<a href="../index.html#string">string</a> username:flags.3?<a href="../index.html#string">string</a> phone:flags.4?<a href="../index.html#string">string</a> photo:flags.5?<a href="../types/user_profile_photo.html">UserProfilePhoto</a> status:flags.6?<a href="../types/user_status.html">UserStatus</a> bot_info_version:flags.14?<a href="../index.html#int">int</a> restriction_reason:flags.18?<a href="../index.html#vector">Vector</a>&lt;<a href="../types/restriction_reason.html">RestrictionReason</a>&gt; bot_inline_placeholder:flags.19?<a href="../index.html#string">string</a> lang_code:flags.22?<a href="../index.html#string">string</a> emoji_status:flags.30?<a href="../types/emoji_status.html">EmojiStatus</a> usernames:flags2.0?<a href="../index.html#vector">Vector</a>&lt;<a href="../types/username.html">Username</a>&gt; stories_max_id:flags2.5?<a href="../index.html#int">int</a> color:flags2.8?<a href="../types/peer_color.html">PeerColor</a> profile_color:flags2.9?<a href="../types/peer_color.html">PeerColor</a> bot_active_users:flags2.12?<a href="../index.html#int">int</a> = <a href="../types/user.html">User</a></pre><button onclick="cp('from telethon.tl.types import User');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../types/user.html">User</a></td></tr></table><p>This type can be an instance of either:</p><table><tr><td><a href="user.html">User</a></td><td><a href="user_empty.html">UserEmpty</a></td></tr></table><h3>Members</h3><table><tr><td><b>id</b></td><td style="text-align:center"><a href="../index.html#long">long</a></td><td></td></tr><tr><td><b>is_self</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>contact</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>mutual_contact</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>deleted</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>bot</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>bot_chat_history</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>bot_nochats</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>verified</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>restricted</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>min</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>bot_inline_geo</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>support</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>scam</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>apply_min_photo</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>fake</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>bot_attach_menu</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>premium</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>attach_menu_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>bot_can_edit</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>close_friend</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>stories_hidden</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>stories_unavailable</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>contact_require_premium</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>bot_business</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>bot_has_main_app</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>access_hash</b></td><td style="text-align:center"><a href="../index.html#long">long</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>first_name</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><tr><td><b>last_name</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><tr><td><b>username</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><tr><td><b>phone</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><tr><td><b>photo</b></td><td style="text-align:center"><a href="../types/user_profile_photo.html">UserProfilePhoto</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>status</b></td><td style="text-align:center"><a href="../types/user_status.html">UserStatus</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>bot_info_version</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>restriction_reason</b></td><td style="text-align:center"><a href="../types/restriction_reason.html">RestrictionReason</a></td><td>This argument defaults to <code>None</code> and can be omitted. Otherwise, a <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr><tr><td><b>bot_inline_placeholder</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><tr><td><b>lang_code</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><tr><td><b>emoji_status</b></td><td style="text-align:center"><a href="../types/emoji_status.html">EmojiStatus</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>usernames</b></td><td style="text-align:center"><a href="../types/username.html">Username</a></td><td>This argument defaults to <code>None</code> and can be omitted. Otherwise, a <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr><tr><td><b>stories_max_id</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>color</b></td><td style="text-align:center"><a href="../types/peer_color.html">PeerColor</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>profile_color</b></td><td style="text-align:center"><a href="../types/peer_color.html">PeerColor</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>bot_active_users</b></td><td style="text-align:center"><a href="../index.html#int">int</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>