Skip to content

Commit

Permalink
docs: staging: Update docs 2024-01-03 | 15:01:32 PM UTC
Browse files Browse the repository at this point in the history
Signed-off-by: Mayuri-Chan <[email protected]>
  • Loading branch information
Mayuri-Chan committed Jan 3, 2024
1 parent 4f15282 commit e234dfa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions staging/api/types/Chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -1781,6 +1781,8 @@ <h1 id="chat">Chat<a class="headerlink" href="#chat" title="Link to this heading
<li><p><strong>first_name</strong> (<code class="docutils literal notranslate"><span class="pre">str</span></code>, <em>optional</em>) – First name of the other party in a private chat, for private chats and bots.</p></li>
<li><p><strong>last_name</strong> (<code class="docutils literal notranslate"><span class="pre">str</span></code>, <em>optional</em>) – Last name of the other party in a private chat, for private chats.</p></li>
<li><p><strong>photo</strong> (<a class="reference internal" href="ChatPhoto.html#pyrogram.types.ChatPhoto" title="pyrogram.types.ChatPhoto (Python class) — A chat photo."><code class="xref py py-obj docutils literal notranslate"><span class="pre">ChatPhoto</span></code></a>, <em>optional</em>) – Chat photo. Suitable for downloads only.</p></li>
<li><p><strong>stories</strong> (List of <a class="reference internal" href="Story.html#pyrogram.types.Story" title="pyrogram.types.Story (Python class) — A story."><code class="xref py py-obj docutils literal notranslate"><span class="pre">Story</span></code></a>, <em>optional</em>) – The list of chat’s stories if available.</p></li>
<li><p><strong>wallpaper</strong> (<a class="reference internal" href="Document.html#pyrogram.types.Document" title="pyrogram.types.Document (Python class) — A generic file (as opposed to photos, voice messages, audio files, ...)."><code class="xref py py-obj docutils literal notranslate"><span class="pre">Document</span></code></a>, <em>optional</em>) – Chat wallpaper.</p></li>
<li><p><strong>bio</strong> (<code class="docutils literal notranslate"><span class="pre">str</span></code>, <em>optional</em>) – Bio of the other party in a private chat.
Returned only in <a class="reference internal" href="../methods/get_chat.html#pyrogram.Client.get_chat" title="pyrogram.Client.get_chat (Python method) — Get up to date information about a chat."><code class="xref py py-meth docutils literal notranslate"><span class="pre">get_chat()</span></code></a>.</p></li>
<li><p><strong>description</strong> (<code class="docutils literal notranslate"><span class="pre">str</span></code>, <em>optional</em>) – Description, for groups, supergroups and channel chats.
Expand All @@ -1789,6 +1791,7 @@ <h1 id="chat">Chat<a class="headerlink" href="#chat" title="Link to this heading
Note that this information is approximate; it is based on where Telegram stores the current chat photo.
It is accurate only in case the owner has set the chat photo, otherwise the dc_id will be the one assigned
to the administrator who set the current chat photo.</p></li>
<li><p><strong>folder_id</strong> (<code class="docutils literal notranslate"><span class="pre">int</span></code>, <em>optional</em>) – The folder identifier where the chat is located.</p></li>
<li><p><strong>has_protected_content</strong> (<code class="docutils literal notranslate"><span class="pre">bool</span></code>, <em>optional</em>) – True, if messages from the chat can’t be forwarded to other chats.</p></li>
<li><p><strong>invite_link</strong> (<code class="docutils literal notranslate"><span class="pre">str</span></code>, <em>optional</em>) – Chat invite link, for groups, supergroups and channels.
Returned only in <a class="reference internal" href="../methods/get_chat.html#pyrogram.Client.get_chat" title="pyrogram.Client.get_chat (Python method) — Get up to date information about a chat."><code class="xref py py-meth docutils literal notranslate"><span class="pre">get_chat()</span></code></a>.</p></li>
Expand All @@ -1814,6 +1817,8 @@ <h1 id="chat">Chat<a class="headerlink" href="#chat" title="Link to this heading
<li><p><strong>full_name</strong> (<code class="docutils literal notranslate"><span class="pre">str</span></code>, <em>property</em>) – Full name of the other party in a private chat, for private chats and bots.</p></li>
<li><p><strong>usernames</strong> (List of <code class="xref py py-obj docutils literal notranslate"><span class="pre">Username</span></code>, <em>optional</em>) – List of all chat (fragment) usernames; for private chats, supergroups and channels.
Returned only in <a class="reference internal" href="../methods/get_chat.html#pyrogram.Client.get_chat" title="pyrogram.Client.get_chat (Python method) — Get up to date information about a chat."><code class="xref py py-meth docutils literal notranslate"><span class="pre">get_chat()</span></code></a>.</p></li>
<li><p><strong>level</strong> (<code class="docutils literal notranslate"><span class="pre">int</span></code>, <em>optional</em>) – Channel boosts level.
For channel only.</p></li>
<li><p><strong>reply_color</strong> (<a class="reference internal" href="ChatColor.html#pyrogram.types.ChatColor" title="pyrogram.types.ChatColor (Python class) — Reply or profile color status."><code class="xref py py-obj docutils literal notranslate"><span class="pre">ChatColor</span></code></a>, <em>optional</em>) – Chat reply color.</p></li>
<li><p><strong>profile_color</strong> (<a class="reference internal" href="ChatColor.html#pyrogram.types.ChatColor" title="pyrogram.types.ChatColor (Python class) — Reply or profile color status."><code class="xref py py-obj docutils literal notranslate"><span class="pre">ChatColor</span></code></a>, <em>optional</em>) – Chat profile color.</p></li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion staging/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion staging/sitemap.xml

Large diffs are not rendered by default.

0 comments on commit e234dfa

Please sign in to comment.