Commit Graph

2190 Commits

Author SHA1 Message Date
Dan
e9ff43d71f Update reported version on docs 2018-11-13 20:33:55 +01:00
Dan
e400641204 Fix Dispatcher bad behaviours in case of multiple Clients running at the same time. 2018-11-13 20:31:53 +01:00
Dan
5b10afa7a3 Small style fix 2018-11-13 13:30:26 +01:00
Dan
9f8e05861f Fix sphinx warning 2018-11-13 13:22:23 +01:00
Dan
675c913a62 Update version in docs 2018-11-13 13:21:34 +01:00
Dan
c3d8fbc441 Merge branch 'develop' 2018-11-13 13:17:33 +01:00
Dan
87fca98035 Update to v0.9.2 2018-11-13 13:16:31 +01:00
Dan
2e16499369 Allow decorators to be stacked
E.g:

app1.on_message(...)
app2.on_message(...)
app3.on_message(...)
def on_message(client, message):
    ...
2018-11-10 15:21:52 +01:00
Dan
fafa3b5131 Fix some decorators not working when used in plugins 2018-11-10 15:15:58 +01:00
Dan
b9a82f5dc5 Reword RESULTS_TOO_MUCH 2018-11-09 13:22:48 +01:00
Dan
c71d6781a2 Add RESULT_ID_DUPLICATE error 2018-11-09 13:22:27 +01:00
Dan
72bad9622a Add RESULTS_TOO_MUCH error 2018-11-09 13:21:10 +01:00
Dan
5bff8236b5 Add Inline Mode section to docs 2018-11-09 13:17:16 +01:00
Dan
97e705f833 Make new types importable 2018-11-09 13:16:44 +01:00
Dan
ebfb64e139 Add InputMessageContent docstrings 2018-11-09 13:16:27 +01:00
Dan
1ab17d8015 Fix InputTextMessageContent with empty reply markups 2018-11-09 13:15:54 +01:00
Dan
5ed904a2e4 Update inline_query_result_article 2018-11-09 13:15:20 +01:00
Dan
06797d32f0 Add InlineQueryResult super class 2018-11-09 13:09:27 +01:00
Dan
55cca00401 Add on_inline_query decorator 2018-11-09 13:08:50 +01:00
Dan
07cb14de61 Add InlineQueryHandler 2018-11-09 13:08:28 +01:00
Dan
cfcfea99dd Add missing comma, remove unneeded file read 2018-11-09 13:07:46 +01:00
Dan
755a392fa2 Merge branch 'develop' into inline-mode 2018-11-09 10:23:47 +01:00
Dan
c3edd9d862 Merge branch 'dispatcher-optimizations' into develop 2018-11-09 09:23:16 +01:00
Dan
23fd39e2c8 Update dispatcher.py 2018-11-09 09:21:01 +01:00
Dan
dfadf92742 Update InlineQueryResultArticle
Inherit from InlineQueryResult
2018-11-09 09:14:03 +01:00
Dan
b98345b20e Add InputMessageContent type 2018-11-09 09:13:32 +01:00
Dan
c7fe5b810a Add InlineQueryResult type 2018-11-09 09:13:20 +01:00
Dan
aaded7564e Clean up auto generated comments 2018-11-09 08:54:54 +01:00
Dan
735246b259 Fix InlineQuery ID 2018-11-09 08:53:34 +01:00
Dan
8d50b86bc6 Merge branch 'develop' into inline-mode
# Conflicts:
#	compiler/api/compiler.py
2018-11-09 08:52:26 +01:00
Dan
3adb820bac
Merge pull request #156 from VANKINEENITAWRUN/develop
Add missing args to Message.download bound method
2018-11-08 20:30:39 +01:00
Dan
2b21a1fc6b
Merge pull request #157 from Furoin/user
Add Filters.user("me")
2018-11-08 20:28:39 +01: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
Vankineeni Tawrun
cdabf3e7e0 added args to Message.download bound method 2018-11-08 19:08:56 +05:30
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
e760550f8b Add Message.media field 2018-11-08 10:49:32 +01:00
Dan
f26e20d30e Update Filters.service 2018-11-08 10:44:32 +01:00
Dan
fc7b77e2b9 Add Message.service field 2018-11-08 10:40:46 +01:00
Dan
32a09ffc4c Add Message.empty field 2018-11-08 10:28:11 +01:00
Dan
f8844d60ab Handle possible MESSAGE_IDS_EMPTY errors in case of pinned messages 2018-11-07 13:11:33 +01:00
Dan
648eb80928 Add Message.edit() bound method 2018-11-07 12:03:57 +01:00
Dan
0818641c51 Merge remote-tracking branch 'origin/develop' into develop 2018-11-06 17:42:14 +01:00
Dan
b3737fc6ef Add MESSAGE_DELETE_FORBIDDEN error 2018-11-06 17:42:01 +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
1fe53c99f0
Merge pull request #154 from Furoin/mentioned
Add Message.mentioned and Filters.mentioned
2018-11-06 17:38:53 +01:00