Telethon/constructors/chat.html

18 lines
5.0 KiB
HTML
Raw Permalink Normal View History

2016-08-26 13:58:53 +03:00
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Chat</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="chat.html">Chat</a></li></ul><h1>Chat</h1><pre>---types---
chat#41cbf256 flags:# creator:flags.0?<a href="../index.html#true">true</a> left:flags.2?<a href="../index.html#true">true</a> deactivated:flags.5?<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> noforwards:flags.25?<a href="../index.html#true">true</a> id:<a href="../index.html#long">long</a> title:<a href="../index.html#string">string</a> photo:<a href="../types/chat_photo.html">ChatPhoto</a> participants_count:<a href="../index.html#int">int</a> date:<a href="../index.html#date">date</a> version:<a href="../index.html#int">int</a> migrated_to:flags.6?<a href="../types/input_channel.html">InputChannel</a> admin_rights:flags.14?<a href="../types/chat_admin_rights.html">ChatAdminRights</a> default_banned_rights:flags.18?<a href="../types/chat_banned_rights.html">ChatBannedRights</a> = <a href="../types/chat.html">Chat</a></pre><button onclick="cp('from telethon.tl.types import Chat');">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>participants_count</b></td><td style="text-align:center"><a href="../index.html#int">int</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>version</b></td><td style="text-align:center"><a href="../index.html#int">int</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>deactivated</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>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>migrated_to</b></td><td style="text-align:center"><a href="../types/input_channel.html">InputChannel</a></td><td>This argument defaults to <code>None</code> and can be omitted. Anything entity-like will work if the library can find its <code>Input</code> version (e.g., usernames, <code>Peer</code>, <code>User</code> or <code>Channel</code> objects, etc.).</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>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></table><textarea id="c" class="invisible"></