File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -481,38 +481,6 @@ def filter(self, message):
481
481
``Filters.document`` for all document messages.
482
482
483
483
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:
516
484
category: This Filter filters documents by their category in the mime-type attribute
517
485
518
486
Note:
You can’t perform that action at this time.
0 commit comments