Telethon/constructors/channel.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>Channel</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="channel.html">Channel</a></li></ul><h1>Channel</h1><pre>---types---
channel#fe4478bd flags:# creator:flags.0?<a href="../index.html#true">true</a> left:flags.2?<a href="../index.html#true">true</a> broadcast:flags.5?<a href="../index.html#true">true</a> verified:flags.7?<a href="../index.html#true">true</a> megagroup:flags.8?<a href="../index.html#true">true</a> restricted:flags.9?<a href="../index.html#true">true</a> signatures:flags.11?<a href="../index.html#true">true</a> min:flags.12?<a href="../index.html#true">true</a> scam:flags.19?<a href="../index.html#true">true</a> has_link:flags.20?<a href="../index.html#true">true</a> has_geo:flags.21?<a href="../index.html#true">true</a> slowmode_enabled:flags.22?<a href="../index.html#true">true</a> call_active:flags.23?<a href="../index.html#true">true</a> call_not_empty:flags.24?<a href="../index.html#true">true</a> fake:flags.25?<a href="../index.html#true">true</a> gigagroup:flags.26?<a href="../index.html#true">true</a> noforwards:flags.27?<a href="../index.html#true">true</a> join_to_send:flags.28?<a href="../index.html#true">true</a> join_request:flags.29?<a href="../index.html#true">true</a> forum:flags.30?<a href="../index.html#true">true</a> flags2:# stories_hidden:flags2.1?<a href="../index.html#true">true</a> stories_hidden_min:flags2.2?<a href="../index.html#true">true</a> stories_unavailable:flags2.3?<a href="../index.html#true">true</a> signature_profiles:flags2.12?<a href="../index.html#true">true</a> id:<a href="../index.html#long">long</a> access_hash:flags.13?<a href="../index.html#long">long</a> title:<a href="../index.html#string">string</a> username:flags.6?<a href="../index.html#string">string</a> photo:<a href="../types/chat_photo.html">ChatPhoto</a> date:<a href="../index.html#date">date</a> restriction_reason:flags.9?<a href="../index.html#vector">Vector</a>&lt;<a href="../types/restriction_reason.html">RestrictionReason</a>&gt; admin_rights:flags.14?<a href="../types/chat_admin_rights.html">ChatAdminRights</a> banned_rights:flags.15?<a href="../types/chat_banned_rights.html">ChatBannedRights</a> default_banned_rights:flags.18?<a href="../types/chat_banned_rights.html">ChatBannedRights</a> participants_count:flags.17?<a href="../index.html#int">int</a> usernames:flags2.0?<a href="../index.html#vector">Vector</a>&lt;<a href="../types/username.html">Username</a>&gt; stories_max_id:flags2.4?<a href="../index.html#int">int</a> color:flags2.7?<a href="../types/peer_color.html">PeerColor</a> profile_color:flags2.8?<a href="../types/peer_color.html">PeerColor</a> emoji_status:flags2.9?<a href="../types/emoji_status.html">EmojiStatus</a> level:flags2.10?<a href="../index.html#int">int</a> subscription_until_date:flags2.11?<a href="../index.html#date">date</a> = <a href="../types/chat.html">Chat</a></pre><button onclick="cp('from telethon.tl.types import Channel');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../types/chat.html">Chat</a></td></tr></table><p>This type can be an instance of either:</p><table><tr><td><a href="channel.html">Channel</a></td><td><a href="channel_forbidden.html">ChannelForbidden</a></td></tr><tr><td><a href="chat.html">Chat</a></td><td><a href="chat_empty.html">ChatEmpty</a></td></tr><tr><td><a href="chat_forbidden.html">ChatForbidden</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>title</b></td><td style="text-align:center"><a href="../index.html#string">string</a></td><td></td></tr><tr><td><b>photo</b></td><td style="text-align:center"><a href="../types/chat_photo.html">ChatPhoto</a></td><td></td></tr><tr><td><b>date</b></td><td style="text-align:center"><a href="../index.html#date">date</a></td><td></td></tr><tr><td><b>creator</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>left</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>broadcast</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>megagroup</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>signatures</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>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>has_link</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>has_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>slowmode_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>call_active</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>call_not_empty</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>gigagroup</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>noforwards</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>join_to_send</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>join_request</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>forum</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_hidden_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>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>signature_profiles</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>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>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>admin_rights</b></td><td style="text-align:center"><a href="../types/chat_admin_rights.html">ChatAdminRights</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>banned_rights</b></td><td style="text-align:center"><a href="../types/chat_banned_rights.html">ChatBannedRights</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>default_banned_rights</b></td><td style="text-align:center"><a href="../types/chat_banned_rights.html">ChatBannedRights</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>participants_count</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>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>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>level</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>subscription_until_date</b></td><td style="text-align:center"><a href="../index.html#date">date</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>