Commit Graph

67 Commits

Author SHA1 Message Date
Dan
6109129f73 Reword some filter docstrings to better explain their usages 2019-02-04 18:23:40 +01:00
Dan
161ab79eb3 Add Filters.media_group for photos or videos being part of an album. 2019-01-11 12:51:01 +01:00
Dan
1d8fd0b836 Make Filters.regex work on message captions too 2019-01-11 12:46:41 +01:00
Dan
8928ca3433 Rename game_score to game_high_score 2019-01-07 22:50:54 +01:00
Dan
50e5692eae Add Filters.game and Filters.game_score. Also fix Filters.animation name 2019-01-05 23:12:59 +01:00
Dan
36f987e979 Add Filters.me
Useful to filter messages coming from the current running user.
Does the same thing as Filters.user("me")
2019-01-03 20:58:38 +01:00
Dan
4d7b1bafac Update copyright year 2019-01-01 12:36:16 +01:00
Dan
a551f1fe1e Fix Filters.poll docstrings link to Poll type 2018-12-23 19:52:49 +01:00
Dan
1d676a76db Merge branch 'develop' into future 2018-12-23 19:51:54 +01:00
Dan
9fe04ff7cd Fix filter links to Objects 2018-12-23 19:51:45 +01:00
Dan
8eab47123a Add Filters.poll to filter Poll messages 2018-12-22 23:55:16 +01:00
Dan
2ae8730b22 Add Filters.via_bot to filter messages sent via inline bots 2018-12-15 08:53:22 +01:00
zeroone2numeral2
2d1a7871ea Added Filters.web_page 2018-11-25 17:05:59 +00:00
Dan
80726784e5
Fix Filters.chat docstrings using unusual double quotes 2018-11-08 20:25:35 +01:00
Dan
803f36412f
Update Filters.user docstrings 2018-11-08 20:24:54 +01:00
Furoin
b4bc7deba0 added Filters.user("me") 2018-11-08 17:11:43 +03:00
Dan
774462283e Update service and media filter docstrings 2018-11-08 11:10:24 +01:00
Dan
f6d3db3662 Update docstring style 2018-11-08 11:03:47 +01:00
Dan
b747f87319 Update Filters.media 2018-11-08 10:50:52 +01:00
Dan
f26e20d30e Update Filters.service 2018-11-08 10:44:32 +01:00
Dan
160420bda4
Merge pull request #155 from Furoin/chat
Allow using "me" or "self" in Filters.chat
2018-11-06 17:41:12 +01:00
Dan
5efd608487
Update Filters.chat docstrings 2018-11-06 17:40:37 +01:00
Dan
0943761a91
Update filters.py 2018-11-06 17:32:46 +01:00
Furoin
1adc812108 added Filters.chat("me") 2018-11-06 18:36:40 +03:00
Furoin
2d0ffcb0f4 added Filters.mentioned 2018-11-06 17:13:37 +03:00
Furoin
bc703ae6d7 added Filters.dan 2018-11-03 14:57:57 +03:00
Dan
c9462911cf Fix Filters.command ignoring commands with empty prefixes 2018-10-25 14:47:18 +02:00
Dan
841141077f Add better examples to Filters.command 2018-10-16 11:53:05 +02:00
Dan
b79df81f14 Allow specifying more than one prefix in Filters.command 2018-10-14 14:24:53 +02:00
Dan
edfdf9d143 Small docstring fixes 2018-09-14 15:34:00 +02:00
Dan
3307b410b4 Give superpowers to Filters.chat too
It can now add and remove chats at runtime
2018-09-14 15:33:32 +02:00
Dan
339630dafb Add noinspection PyPep8Naming for Filters.user 2018-09-14 15:29:56 +02:00
Dan
31578ddb33 Give Filters.user superpowers
It can now add and remove users at runtime
2018-09-14 15:29:36 +02:00
Dan
b893698f1e Add ability to add/remove users from the user filter.
Use .users to access the inner set of users
2018-09-14 14:37:04 +02:00
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