Skip to content

Commit 6fef795

Browse files
committed
Fixed filters documentation
1 parent d76b3da commit 6fef795

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

PyTgCalls/Filters.xml

+16-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</subtext>
4242
</subtext>
4343
<br/>
44-
<category-title><ref>pytgcalls.filters.<sb src="method">me</sb></ref>()</category-title>
44+
<category-title><ref>pytgcalls.filters.<sb src="method">me</sb></ref></category-title>
4545
<subtext>
4646
<text>
4747
Filter updates for yourself.
@@ -53,6 +53,21 @@
5353
<text>
5454
Filter updates for when a stream ends.
5555
</text>
56+
<pg-title>PARAMETERS</pg-title>
57+
<subtext>
58+
<category-title><ref>stream_type</ref>: Optional[<docs-ref link="/PyTgCalls/Available Enums/StreamEnded Type">StreamEnded.Type</docs-ref>]</category-title>
59+
<subtext>
60+
<text>
61+
Pass one or more stream type to filter stream end updates.
62+
</text>
63+
</subtext>
64+
<category-title><ref>device</ref>: Optional[<docs-ref link="/PyTgCalls/Available Enums/Device">Device</docs-ref>]</category-title>
65+
<subtext>
66+
<text>
67+
Pass one or more devices to filter stream end updates.
68+
</text>
69+
</subtext>
70+
</subtext>
5671
</subtext>
5772
<br/>
5873
<category-title><ref>pytgcalls.filters.<sb src="method">chat</sb></ref>()</category-title>

0 commit comments

Comments
 (0)