Skip to content

Commit 4c2a3d0

Browse files
authored
Remove duplicate entries from docs. (python-telegram-bot#1739)
Fixes python-telegram-bot#1726
1 parent 423794f commit 4c2a3d0

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

telegram/ext/filters.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -481,38 +481,6 @@ def filter(self, message):
481481
``Filters.document`` for all document messages.
482482
483483
Attributes:
484-
category: This Filter filters documents by their category in the mime-type attribute.
485-
486-
Example:
487-
``Filters.documents.category('audio/')`` filters all types
488-
of audio sent as file, for example 'audio/mpeg' or 'audio/x-wav'. The following
489-
attributes can be used as a shortcut like: ``Filters.document.audio``
490-
491-
application:
492-
audio:
493-
image:
494-
video:
495-
text:
496-
mime_type: This Filter filters documents by their mime-type attribute.
497-
498-
Example:
499-
``Filters.documents.mime_type('audio/mpeg')`` filters all audio in mp3 format. The
500-
following attributes can be used as a shortcut like: ``Filters.document.jpg``
501-
apk:
502-
doc:
503-
docx:
504-
exe:
505-
gif:
506-
jpg:
507-
mp3:
508-
pdf:
509-
py:
510-
svg:
511-
txt:
512-
targz:
513-
wav:
514-
xml:
515-
zip:
516484
category: This Filter filters documents by their category in the mime-type attribute
517485
518486
Note:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy