Skip to content

Commit

Permalink
docs: staging: Update docs 2025-01-10 | 02:01:26 AM 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 10, 2025
1 parent df17787 commit 6dcce74
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion staging/api/methods/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7798,7 +7798,7 @@ <h2 id="messages">Messages<a class="headerlink" href="#messages" title="Link to
<tr class="row-odd"><td><p><a class="reference internal" href="send_cached_media.html#pyrogram.Client.send_cached_media" title="pyrogram.Client.send_cached_media (Python method) — Send any media stored on the Telegram servers using a file_id."><code class="xref py py-obj docutils literal notranslate"><span class="pre">send_cached_media</span></code></a></p></td>
<td><p>Send any media stored on the Telegram servers using a file_id.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="send_reaction.html#pyrogram.Client.send_reaction" title="pyrogram.Client.send_reaction (Python method) — Use this method to send reactions on a message/stories. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel."><code class="xref py py-obj docutils literal notranslate"><span class="pre">send_reaction</span></code></a></p></td>
<tr class="row-even"><td><p><a class="reference internal" href="send_reaction.html#pyrogram.Client.send_reaction" title="pyrogram.Client.send_reaction (Python method) — Use this method to send reactions on a message/stories. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Bots can't use paid reactions."><code class="xref py py-obj docutils literal notranslate"><span class="pre">send_reaction</span></code></a></p></td>
<td><p>Use this method to send reactions on a message/stories.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="edit_message_text.html#pyrogram.Client.edit_message_text" title="pyrogram.Client.edit_message_text (Python method) — Edit the text of messages."><code class="xref py py-obj docutils literal notranslate"><span class="pre">edit_message_text</span></code></a></p></td>
Expand Down
23 changes: 16 additions & 7 deletions staging/api/methods/send_reaction.html
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@

<li class="md-nav__item">
<a href="#pyrogram.Client.send_reaction" class="md-nav__link">
<span aria-label="Python method" class="objinfo-icon objinfo-icon__procedure" title="Python method">M</span><span title="pyrogram.Client.send_reaction (Python method) — Use this method to send reactions on a message/stories. Service messages can&#39;t be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel." class="md-ellipsis">Client.<wbr>send_<wbr>reaction</span>
<span aria-label="Python method" class="objinfo-icon objinfo-icon__procedure" title="Python method">M</span><span title="pyrogram.Client.send_reaction (Python method) — Use this method to send reactions on a message/stories. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Bots can&#39;t use paid reactions." class="md-ellipsis">Client.<wbr>send_<wbr>reaction</span>
</a>

<nav class="md-nav" aria-label="Client.send_reaction">
Expand Down Expand Up @@ -2327,7 +2327,7 @@

<li class="md-nav__item">
<a href="#pyrogram.Client.send_reaction" class="md-nav__link">
<span aria-label="Python method" class="objinfo-icon objinfo-icon__procedure" title="Python method">M</span><span title="pyrogram.Client.send_reaction (Python method) — Use this method to send reactions on a message/stories. Service messages can&#39;t be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel." class="md-ellipsis">Client.<wbr>send_<wbr>reaction</span>
<span aria-label="Python method" class="objinfo-icon objinfo-icon__procedure" title="Python method">M</span><span title="pyrogram.Client.send_reaction (Python method) — Use this method to send reactions on a message/stories. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Bots can&#39;t use paid reactions." class="md-ellipsis">Client.<wbr>send_<wbr>reaction</span>
</a>

<nav class="md-nav" aria-label="Client.send_reaction">
Expand Down Expand Up @@ -2371,15 +2371,24 @@ <h1 id="send-reaction">send_reaction()<a class="headerlink" href="#send-reaction
<dt class="sig sig-object highlight py" id="pyrogram.Client.send_reaction">
<span class="sig-prename descclassname"><span class="pre">Client.</span></span><span class="sig-name descname"><span class="pre">send_reaction</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyrogram.Client.send_reaction" title="Link to this definition"></a></dt>
<dd><p>Use this method to send reactions on a message/stories.
Service messages can’t be reacted to.
Automatically forwarded messages from
a channel to its discussion group have the
same available reactions as messages in the channel.</p>
Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel.
Bots can’t use paid reactions.</p>
<p>You must use exactly one of <code class="docutils literal notranslate"><span class="pre">message_id</span></code> OR <code class="docutils literal notranslate"><span class="pre">story_id</span></code>.</p>
<blockquote>
<div><dl>
<dt>If you specify, <code class="docutils literal notranslate"><span class="pre">message_id</span></code></dt><dd><blockquote>
<strong>Usable by</strong>
<span class="usable-by"><i class="fa-solid fa-check" style="color: var(--color-green)"></i> Users</span>
<span class="usable-by"><i class="fa-solid fa-check" style="color: var(--color-green)"></i> Bots</span>
</blockquote><dl class="field-list simple">
</blockquote></dd>
<dt>If you specify, <code class="docutils literal notranslate"><span class="pre">story_id</span></code></dt><dd><blockquote>
<strong>Usable by</strong>
<span class="usable-by"><i class="fa-solid fa-check" style="color: var(--color-green)"></i> Users</span>
<span class="usable-by"><i class="fa-solid fa-xmark" style="color: var(--color-red)"></i> Bots</span>
</blockquote></dd>
</dl>
</div></blockquote>
<dl class="field-list simple">
<dt class="field-odd" id="pyrogram.Client.send_reaction-parameters">Parameters<span class="colon">:</span><a class="headerlink" href="#pyrogram.Client.send_reaction-parameters" title="Permalink to this headline"></a></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chat_id</strong> (<code class="docutils literal notranslate"><span class="pre">int</span></code> | <code class="docutils literal notranslate"><span class="pre">str</span></code>) – Unique identifier (int) or username (str) of the target chat.
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 6dcce74

Please sign in to comment.