Commit Graph

33 Commits

Author SHA1 Message Date
Dan
493fc4a658 Document Filters.create() method 2018-08-19 17:24:24 +02:00
Dan
ed05c56f52 Clearer Filters docs. Add create to Filters' namespace 2018-08-19 17:22:28 +02:00
Dan
0c77fe91fe Add TODO 2018-08-17 12:17:54 +02:00
Dan
7f1dd6d67e Rename "build" to "create" (friendlier name) 2018-08-17 02:17:48 +02:00
Dan
ece50e5f9b Rename Filters.gif to Filters.animation 2018-08-12 13:30:54 +02:00
Dan
3a5dc20fb5 Rename reply_markup to bots 2018-08-09 21:51:43 +02:00
Dan
6404862b87 Add reply_keyboard and inline_keyboard filters 2018-06-23 10:36:29 +02:00
Vitali
e6c6bd839c Add Handler to deleted messages update 2018-06-19 11:18:12 -03:00
Dan
62d4b2aeee Allow defining case sensitive commands with Filters.command 2018-06-04 11:35:38 +02:00
Dan
2125415f8f Allow empty and multi-character prefixes in Filters.command 2018-06-04 10:13:11 +02:00
Dan
28310cb0a7 Add GIFs to media filter 2018-05-20 14:03:16 +02:00
Dan
696a86791f Add GIF filter 2018-05-11 11:56:48 +02:00
Dan
5be87a0dec Add Filters.bot 2018-05-08 18:08:51 +02:00
Dan
32336a9bda Fix links 2018-05-02 16:00:48 +02:00
Dan
4d81e6894d Make optional word italic 2018-04-30 19:30:16 +02:00
Dan
18e414e2c1 Add TODO 2018-04-27 20:13:19 +02:00
Dan
e22f7896f8 Add incoming and outgoing filters 2018-04-25 17:44:09 +02:00
Dan
9173c49938 Allow Filters.command to pass command and arguments
This is done by using the new "command" field in the Message type
2018-04-25 10:27:55 +02:00
Dan
e5de670d40 Allow Filters.regex to pass all matches (as list)
This is done by using the new "matches" field in the Message type
2018-04-25 09:33:44 +02:00
Dan
e8193435a9 Fix service filter and add media filter 2018-04-14 14:02:48 +02:00
Dan
98937dbc3b Update Docs 2018-04-11 23:18:17 +02:00
Dan
472ed8e355 Document the new features 2018-04-11 03:16:48 +02:00
Dan
059c1d7a27 Add service message filters 2018-04-10 19:23:40 +02:00
Dan
cbf9104aa3 Add chat filter 2018-04-10 18:33:19 +02:00
Dan
dfa1e51281 Fix type hinting 2018-04-10 16:27:04 +02:00
Dan
f553e521ce Use sets instead of lists or tuples
For faster checks
2018-04-10 16:26:04 +02:00
Dan
793ecc2ab5 Add user filter 2018-04-10 16:24:39 +02:00
Dan
a6b6b0dfd6 Add edited filter 2018-04-10 16:04:22 +02:00
Dan
3b028698f7 Make command parameter non-optional 2018-04-10 15:04:31 +02:00
Dan
7537a27620 Accept command strings as parameter 2018-04-10 14:54:06 +02:00
Dan
f2424d3b1e Add some more filters 2018-04-10 13:14:10 +02:00
Dan
b3506a7afa Add a text filter (more to come) 2018-04-10 00:25:04 +02:00
Dan
b6f28b2ec6 Add base Filter class 2018-04-09 23:33:20 +02:00