Skip to content

Commit

Permalink
Add changes for 20b1eee
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 10, 2022
1 parent e957d3f commit 58be66c
Show file tree
Hide file tree
Showing 85 changed files with 129 additions and 14 deletions.
Binary file modified .doctrees/api/exceptions.doctree
Binary file not shown.
Binary file modified .doctrees/api/methods/index.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
2 changes: 2 additions & 0 deletions _sources/api/exceptions.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ MtProto Errors
.. autoexception:: pytgcalls.exceptions.InvalidMtProtoClient()
.. autoexception:: pytgcalls.exceptions.NoMtProtoClientSet()
.. autoexception:: pytgcalls.exceptions.TelegramServerError()
.. autoexception:: pytgcalls.exceptions.RTMPStreamNeeded()

PyTgCalls Errors
----------------
Expand All @@ -39,6 +40,7 @@ PyTgCalls Errors
.. autoexception:: pytgcalls.exceptions.NoActiveGroupCall()
.. autoexception:: pytgcalls.exceptions.NotInGroupCallError()
.. autoexception:: pytgcalls.exceptions.AlreadyJoinedError()
.. autoexception:: pytgcalls.exceptions.UnMuteNeeded()

Stream Errors
-------------
Expand Down
1 change: 1 addition & 0 deletions _sources/api/methods/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ Audio/Video Stream
unmute_stream <unmute_stream>
pause_stream <pause_stream>
resume_stream <resume_stream>
played_time <played_time>

.. currentmodule:: pytgcalls.CustomApi

Expand Down
1 change: 1 addition & 0 deletions api/client.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="methods/unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
1 change: 1 addition & 0 deletions api/custom_api.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="methods/unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
1 change: 1 addition & 0 deletions api/decorators.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="methods/unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
13 changes: 13 additions & 0 deletions api/exceptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="methods/unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down Expand Up @@ -362,6 +363,12 @@ <h2>MtProto Errors<a class="headerlink" href="#mtproto-errors" title="Permalink
internal problems, raised by
<a class="reference internal" href="methods/join_group_call.html#pytgcalls.PyTgCalls.join_group_call" title="pytgcalls.PyTgCalls.join_group_call"><code class="xref py py-meth docutils literal notranslate"><span class="pre">join_group_call()</span></code></a></p>
</dd></dl>
<dl class="py exception">
<dt class="sig sig-object py" id="pytgcalls.exceptions.RTMPStreamNeeded">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pytgcalls.exceptions.</span></span><span class="sig-name descname"><span class="pre">RTMPStreamNeeded</span></span><a class="headerlink" href="#pytgcalls.exceptions.RTMPStreamNeeded" title="Permalink to this definition">#</a></dt>
<dd><p>Needed an RTMP Stream, raised by
<a class="reference internal" href="methods/join_group_call.html#pytgcalls.PyTgCalls.join_group_call" title="pytgcalls.PyTgCalls.join_group_call"><code class="xref py py-meth docutils literal notranslate"><span class="pre">join_group_call()</span></code></a></p>
</dd></dl>
</section>
<section id="pytgcalls-errors">
<h2>PyTgCalls Errors<a class="headerlink" href="#pytgcalls-errors" title="Permalink to this heading">#</a></h2>
Expand Down Expand Up @@ -398,6 +405,12 @@ <h2>PyTgCalls Errors<a class="headerlink" href="#pytgcalls-errors" title="Permal
<dd><p>Already joined into group call, raised by
<a class="reference internal" href="methods/join_group_call.html#pytgcalls.PyTgCalls.join_group_call" title="pytgcalls.PyTgCalls.join_group_call"><code class="xref py py-meth docutils literal notranslate"><span class="pre">join_group_call()</span></code></a></p>
</dd></dl>
<dl class="py exception">
<dt class="sig sig-object py" id="pytgcalls.exceptions.UnMuteNeeded">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pytgcalls.exceptions.</span></span><span class="sig-name descname"><span class="pre">UnMuteNeeded</span></span><a class="headerlink" href="#pytgcalls.exceptions.UnMuteNeeded" title="Permalink to this definition">#</a></dt>
<dd><p>Needed to unmute the userbot, raised by
<a class="reference internal" href="methods/join_group_call.html#pytgcalls.PyTgCalls.join_group_call" title="pytgcalls.PyTgCalls.join_group_call"><code class="xref py py-meth docutils literal notranslate"><span class="pre">join_group_call()</span></code></a></p>
</dd></dl>
</section>
<section id="stream-errors">
<h2>Stream Errors<a class="headerlink" href="#stream-errors" title="Permalink to this heading">#</a></h2>
Expand Down
1 change: 1 addition & 0 deletions api/media_devices.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="methods/unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="methods/start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
1 change: 1 addition & 0 deletions api/methods/change_stream.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
1 change: 1 addition & 0 deletions api/methods/change_volume_call.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
1 change: 1 addition & 0 deletions api/methods/get_active_call.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
1 change: 1 addition & 0 deletions api/methods/get_call.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
1 change: 1 addition & 0 deletions api/methods/get_max_voice_chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
1 change: 1 addition & 0 deletions api/methods/get_participants.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
1 change: 1 addition & 0 deletions api/methods/idle.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
1 change: 1 addition & 0 deletions api/methods/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
5 changes: 3 additions & 2 deletions api/methods/join_group_call.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down Expand Up @@ -329,10 +330,10 @@ <h1>join_group_call()<a class="headerlink" href="#join-group-call" title="Permal
<li><p><a class="reference internal" href="../exceptions.html#pytgcalls.exceptions.TelegramServerError" title="pytgcalls.exceptions.TelegramServerError"><strong>TelegramServerError</strong></a> – Error occurred when
joining to a group call (
Telegram Server Side)</p></li>
<li><p><strong>RTMPStreamNeeded</strong> – In case you try
<li><p><a class="reference internal" href="../exceptions.html#pytgcalls.exceptions.RTMPStreamNeeded" title="pytgcalls.exceptions.RTMPStreamNeeded"><strong>RTMPStreamNeeded</strong></a> – In case you try
to join a group call without
a RTMP stream</p></li>
<li><p><strong>UnMuteNeeded</strong> – In case you try
<li><p><a class="reference internal" href="../exceptions.html#pytgcalls.exceptions.UnMuteNeeded" title="pytgcalls.exceptions.UnMuteNeeded"><strong>UnMuteNeeded</strong></a> – In case you try
to play on a muted group call</p></li>
</ul>
</dd>
Expand Down
1 change: 1 addition & 0 deletions api/methods/leave_group_call.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
1 change: 1 addition & 0 deletions api/methods/mute_stream.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
1 change: 1 addition & 0 deletions api/methods/pause_stream.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2 current current-page"><a class="current reference internal" href="#"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down
29 changes: 24 additions & 5 deletions api/methods/played_time.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />
<link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" /><link rel="next" title="start()" href="start_custom_api.html" /><link rel="prev" title="resume_stream()" href="resume_stream.html" />

<meta name="generator" content="sphinx-5.1.1, furo 2022.04.07"/>
<title>played_time() - PyTgCalls Documentation</title>
Expand Down Expand Up @@ -168,11 +168,11 @@
<li class="toctree-l1"><a class="reference internal" href="../../start/examples.html">Examples</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">API Reference</span></p>
<ul>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../client.html">PyTgCalls Client</a></li>
<li class="toctree-l1"><a class="reference internal" href="../custom_api.html">Custom Api</a></li>
<li class="toctree-l1"><a class="reference internal" href="../stream_type.html">Stream Type</a></li>
<li class="toctree-l1 has-children"><a class="reference internal" href="index.html">Available Methods</a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l1 current has-children"><a class="reference internal" href="index.html">Available Methods</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="get_max_voice_chat.html">get_max_voice_chat</a></li>
<li class="toctree-l2"><a class="reference internal" href="start.html">start</a></li>
<li class="toctree-l2"><a class="reference internal" href="run.html">run</a></li>
Expand All @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="resume_stream.html"> resume_stream</a></li>
<li class="toctree-l2 current current-page"><a class="current reference internal" href="#"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down Expand Up @@ -306,8 +307,26 @@ <h1>played_time()<a class="headerlink" href="#played-time" title="Permalink to t
<footer>

<div class="related-pages">


<a class="next-page" href="start_custom_api.html">
<div class="page-info">
<div class="context">
<span>Next</span>
</div>
<div class="title">start()</div>
</div>
<svg><use href="#svg-arrow-right"></use></svg>
</a>
<a class="prev-page" href="resume_stream.html">
<svg><use href="#svg-arrow-right"></use></svg>
<div class="page-info">
<div class="context">
<span>Previous</span>
</div>

<div class="title">resume_stream()</div>

</div>
</a>
</div>
<div class="bottom-of-page">
<div class="left-details">
Expand Down
7 changes: 4 additions & 3 deletions api/methods/resume_stream.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" /><link rel="next" title="start()" href="start_custom_api.html" /><link rel="prev" title="pause_stream()" href="pause_stream.html" />
<link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" /><link rel="next" title="played_time()" href="played_time.html" /><link rel="prev" title="pause_stream()" href="pause_stream.html" />

<meta name="generator" content="sphinx-5.1.1, furo 2022.04.07"/>
<title>resume_stream() - PyTgCalls Documentation</title>
Expand Down Expand Up @@ -188,6 +188,7 @@
<li class="toctree-l2"><a class="reference internal" href="unmute_stream.html"> unmute_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="pause_stream.html"> pause_stream</a></li>
<li class="toctree-l2 current current-page"><a class="current reference internal" href="#"> resume_stream</a></li>
<li class="toctree-l2"><a class="reference internal" href="played_time.html"> played_time</a></li>
<li class="toctree-l2"><a class="reference internal" href="start_custom_api.html"> start</a></li>
</ul>
</li>
Expand Down Expand Up @@ -326,12 +327,12 @@ <h1>resume_stream()<a class="headerlink" href="#resume-stream" title="Permalink
<footer>

<div class="related-pages">
<a class="next-page" href="start_custom_api.html">
<a class="next-page" href="played_time.html">
<div class="page-info">
<div class="context">
<span>Next</span>
</div>
<div class="title">start()</div>
<div class="title">played_time()</div>
</div>
<svg><use href="#svg-arrow-right"></use></svg>
</a>
Expand Down
Loading

0 comments on commit 58be66c

Please sign in to comment.