Skip to content

Commit 3c2f542

Browse files
committed
Fixed documentation for StreamEnded
1 parent 08434b7 commit 3c2f542

File tree

5 files changed

+41
-32
lines changed

5 files changed

+41
-32
lines changed

PyTgCalls/Advanced Types/StreamAudioEnded.xml

-15
This file was deleted.
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<page>
2+
<h1>StreamEnded</h1>
3+
<br/>
4+
<category-title noref="true">
5+
<shi>class</shi> <ref src="class">pytgcalls.types.<sb>StreamEnded</sb></ref>
6+
</category-title>
7+
<subtext>
8+
<text>The audio stream or video stream has ended.</text>
9+
<br/>
10+
<pg-title>PROPERTIES</pg-title>
11+
<subtext>
12+
<config id="RET_INT_ID"/>
13+
<category-title><ref>stream_type</ref> <shi>-></shi> <docs-ref link="/PyTgCalls/Available Enums/StreamEnded Type">StreamEnded.Type</docs-ref></category-title>
14+
<subtext><text>Get the type of the stream that has ended.</text></subtext>
15+
16+
<category-title><ref>device</ref> <shi>-></shi> <docs-ref link="/PyTgCalls/Available Enums/Device">pytgcalls.Device</docs-ref></category-title>
17+
<subtext><text>Get the device that has ended the stream.</text></subtext>
18+
</subtext>
19+
</subtext>
20+
</page>

PyTgCalls/Advanced Types/StreamVideoEnded.xml

-15
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<page>
2+
<h1>StreamEnded Type</h1>
3+
<br/>
4+
<category-title noref="true">
5+
<shi>class</shi> <ref src="enum">StreamEnded.<sb>Type</sb></ref>
6+
</category-title>
7+
<subtext>
8+
<text>Enumeration for managing the type of stream that has ended.</text>
9+
<br/>
10+
<pg-title>ENUMERATION MEMBERS</pg-title>
11+
<subtext>
12+
<category-title><ref><sb>AUDIO</sb></ref> <shi>=</shi> 1</category-title>
13+
<config id="TYPE_AUDIO_DESC"/>
14+
15+
<category-title><ref><sb>VIDEO</sb></ref> <shi>=</shi> 2</category-title>
16+
<config id="TYPE_VIDEO_DESC"/>
17+
</subtext>
18+
</subtext>
19+
</page>

config.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1597,6 +1597,7 @@
15971597
<file>ExternalMedia.xml</file>
15981598
<file>GroupCallParticipant Action.xml</file>
15991599
<file>MediaStream Flags.xml</file>
1600+
<file>StreamEnded Type.xml</file>
16001601
<file>VideoQuality.xml</file>
16011602
</group>
16021603

@@ -1643,9 +1644,8 @@
16431644
<file>Frame Info.xml</file>
16441645
<file>GroupCallConfig.xml</file>
16451646
<file>GroupCallParticipant.xml</file>
1646-
<file>StreamAudioEnded.xml</file>
1647+
<file>StreamEnded.xml</file>
16471648
<file>StreamFrames.xml</file>
1648-
<file>StreamVideoEnded.xml</file>
16491649
<file>UpdatedGroupCallParticipant.xml</file>
16501650
</group>
16511651
</files-list>

0 commit comments

Comments
 (0)