Ihor Polyakov
6aacde189e
Flow control ability in Dispatcher ( #738 )
...
fixes #666
2017-07-29 20:15:43 +03:00
Noam Meltzer
5d3f5575ab
Sane defaults for tcp socket options on linux ( #754 )
...
Currently only for linux as most of our userbase is there.
fixes #535
2017-07-29 14:30:27 +03:00
Noam Meltzer
13ab6d43d3
CHANGES.rst: Added 7.0.1 release notes.
...
[ci skip]
2017-07-28 21:22:48 +03:00
Eldinnie
2ba7505eaf
Fix TypeError exception in RegexHandler ( #751 )
...
fixes #750
2017-07-28 20:47:42 +03:00
Eldinnie
5ed06df840
callback query docstring ( #749 )
...
showed from instead of from_user and was missing the informational note about it.
[ci skip]
2017-07-28 17:41:25 +03:00
Noam Meltzer
796583323d
Bump version to v7.0.0
2017-07-25 22:53:20 +03:00
Noam Meltzer
46d9240f36
Update vendored urllib3 gitmodule to the proper git revision
...
Refs #720
2017-07-25 22:37:58 +03:00
Ali Mirlou
e5b0795916
Typo fixed for docs ( #747 )
...
[ci skip]
2017-07-25 21:32:20 +03:00
Eldinnie
8d1d38cc4c
send_* now accepts tg-objects ( #742 )
...
Fixes #731
2017-07-25 01:35:22 +03:00
Eldinnie
2d1028acb6
Add kwargs to data dict ( #744 )
...
Add kwargs to data dict for all bot-methods that are not decorated with `@message`
Fixes #733
2017-07-25 01:19:09 +03:00
Noam Meltzer
2aa31c6faa
Remove urllib3 from reported packages for creating new github issues
...
[ci skip]
2017-07-25 00:22:03 +03:00
Eldinnie
b3b94240a5
Docs update ( #728 )
...
Amazing new documentation.
2017-07-23 23:33:08 +03:00
Rahiel Kasim
19ce9e4512
Delete deprecated code ( #693 )
...
* remove Botan import from utils
* remove telegram.Emoji
* remove ReplyKeyboardHide
* remove edit_message argument of bot.set_game_score
2017-07-23 22:58:20 +03:00
Jelle Besseling
8320227b2a
ConvesationHandler - check if a user exist before using it ( #699 )
...
Fixes #695
2017-07-23 22:29:52 +03:00
Ihor Polyakov
08d298eb60
TelegramObject.de_json became classmethod ( #737 )
...
Fixes #734
2017-07-23 22:14:38 +03:00
Jacob Bom
5a37af6f89
Bot api 3.2 ( #732 )
...
NOTE: Currently not testing StickerSet in terms of bot methods (interaction with telegrams servers) as there's no delete operations.
2017-07-22 14:34:51 +03:00
thodnev
f72f4090c6
Fixed args dispatching in messagequeue decorator ( #705 )
2017-07-08 07:18:10 +03:00
Jacob Bom
94ed4cb38d
Bot api 3.1 ( #698 ) + minor improvements
...
- Added all the new and shiny features from API 3.1.
- Not API 3.1 changes:
- Use future.utils.string_types for string isinstance checks.
- Stall between retries of test_set_webhook_get_webhook_info() &
test_delete_webhook().
2017-07-01 18:08:45 +03:00
Jacob Bom
cbafdc289f
Fix Message.text_*
...
Didn't work with URL type MessageEntities
(when you type a url in a tg client and tg converts it to a link for you)
2017-06-24 11:12:35 +03:00
Noam Meltzer
ebb2556176
Fix download of URLs with UTF-8 chars in path
...
refs #650
2017-06-24 11:10:43 +03:00
Noam Meltzer
56949bcad6
Merge pull request #674 from python-telegram-bot/restructure-internal
...
Move a lot of files
2017-06-22 21:26:47 +03:00
Noam Meltzer
470ee86497
Merge pull request #677 from evgfilim1/new-filters
...
New filters for handling messages from specific chat/user id
2017-06-22 21:25:39 +03:00
evgfilim1
7e81a1510d
Added ability to process list of ids/usernames
2017-06-22 15:19:49 +05:00
evgfilim1
ca9068f2b5
Simplified if statement, fixed docs
2017-06-22 13:39:41 +05:00
Noam Meltzer
45d4ea083d
Merge pull request #671 from alateas/master
...
Make error output more clear for too big uploads.
2017-06-22 10:33:25 +03:00
Noam Meltzer
7a89dcb911
Properly try to parse server message before raising errors
2017-06-21 23:34:35 +03:00
Noam Meltzer
4b3b0cb4cd
Merge pull request #668 from python-telegram-bot/official-test
...
Add an "official test"
2017-06-21 23:14:10 +03:00
Noam Meltzer
3ea16cb1c7
Merge pull request #675 from python-telegram-bot/name-filters
...
Allow filters to have a name.
2017-06-21 23:11:26 +03:00
Jacob Bom
04acbc4117
Remove the need for calling super() in filters
2017-06-21 13:46:03 +02:00
Jacob Bom
4b53ed1c65
Fix videonote import
2017-06-20 22:41:02 +02:00
Jacob Bom
1e4248136c
Merge branch 'master' into restructure-internal
2017-06-20 22:28:14 +02:00
Jacob Bom
0afe83ac30
Merge branch 'master' into official-test
2017-06-20 21:42:33 +02:00
Jacob Bom
6cc84b2c32
Only write repr as str will invoke it implicitly
2017-06-20 21:41:23 +02:00
evgfilim1
9bccbdab2a
Added ability to filter by username
2017-06-20 12:43:07 +05:00
Jacob Bom
a964b7bfd0
Okay, so not even *args followed by a kwarg is allowed on py2...
...
So just remove it for now. Better than doing annoying stuff with parsing a **kwargs dict in my opinion. It didn't even *really* need to be kwarg only anyways I guess...
2017-06-19 21:46:34 +02:00
evgfilim1
5a62255675
Added new filters for handling specific chat id and user id
2017-06-19 22:50:44 +05:00
Jacob Bom
2b871e6f93
* for keyword only arguments isn't supported on py2 it seems...
2017-06-18 16:22:59 +02:00
Jacob Bom
788b9dab0c
Fill in super() calls
2017-06-18 16:03:32 +02:00
Jacob Bom
4c41f3870c
Allow filters to have a name.
...
So their string representation is user friendly.
2017-06-18 15:28:48 +02:00
Jannes Höke
d5583190b8
Bump version to v6.1.0
2017-06-18 12:35:16 +02:00
Jacob Bom
5c2893111a
Move a lot of files
2017-06-18 12:35:00 +02:00
Jacob Bom
faddb92395
Clean up Bot code a bit ( #673 )
...
* Clean up Bot code a bit
- Move decorators to module. It really wasn't clear how decorators inside classes work, and why they didn't have a self parameter, but still wasn't static. This also makes them effectively private without having to underscore them, which I think we should have done long time ago atm. Note that this might break backwards compatibility slightly (only if people are daft enough to have used the decorators themselves)
- Don't call _message_wrapper directly. Ever. Instead always use the message decorator, since it's what it's there for. Closes #627
- Don't use the message decorator if the method isn't supposed to return a message. The decorator could handle values like True (which is often the return value), but to someone reading the code, it seems like it's a message returning method even when it wasn't.
- Always document timeout and **kwargs
- Log all methods
* Add test to make sure timeout propagates properly despite decorators
2017-06-18 12:14:24 +02:00
saschalalala
9b5e014a0a
Simplification of boolean checks ( #662 )
...
* Simplification of boolean checks
* Cast ok to bool for Telegram API json encoding
2017-06-18 12:09:32 +02:00
Jannes Höke
845312da59
Merge branch 'master' of github.com:python-telegram-bot/python-telegram-bot
2017-06-16 04:16:45 +02:00
Alateas
6ffd75e421
Try to process response data after checking errors, not before. Add 413 File too large http error message.
2017-06-15 18:44:39 +03:00
Jacob Bom
9b84a558fb
Fix width+height in sendVideo + game in Message
...
First errors found by the official test thingy
2017-06-14 13:48:45 +02:00
saschalalala
3863b4f371
Rename shortcut functions to snake_case ( #661 )
...
* Rename shortcut functions to snake_case
* More function renaming
* Example function rewrite
* Add myself to authors.rst
* More function renaming
* Rename mockbot test functions
* Break comment line for flake max line length
2017-06-14 00:07:03 +02:00
alateas
6877886f7d
Change hard-coded 20. to timeout parameter ( #663 )
...
* Change hard-coded 20. to timeout paramter
Passing timeout parameter to _message_wrapper in send_audio instead of hard-coded 20 seconds
* add myself to contributors
2017-06-14 00:01:38 +02:00
Jeff
a68e0ad044
bugfixes on error in answer_shipping_query and answer_precheckout_query
2017-06-11 03:45:48 +08:00
Jannes Höke
179fc141bb
Merge branch 'master' of github.com:python-telegram-bot/python-telegram-bot
2017-06-10 21:24:28 +02:00
Noam Meltzer
da8a3cee44
Merge pull request #631 from jeffffc/paymenthandlers
...
Add both handlers for queries from new Payment API
2017-06-09 18:23:29 +03:00
Eldin
bc3669fa4b
make commandhandler case insensitive
2017-06-09 17:45:15 +03:00
Jeff
4247dc0e21
tiny changes upon PR review
2017-06-08 09:47:19 +08:00
Jacob Bom
896392d01e
Merge branch 'master' into fix-docs
2017-06-07 13:12:32 +02:00
Jacob Bom
61c5d6ff08
Remove more warnings
2017-06-07 13:07:45 +02:00
Jacob Bom
aa1c4e0e02
Fix most of "more than one target found for cross-reference" warnings
2017-06-07 12:53:02 +02:00
Noam Meltzer
0fb00c4c8b
When Promise running throws an uncaught exception - log it
2017-06-03 16:34:03 +03:00
Noam Meltzer
2680740316
Merge pull request #641 from azogue/fixes
...
fix setting default mimetype of inputfile
2017-06-03 00:22:32 +03:00
Jeff
eaf765dcbc
Remove duplicated/useless codes, added Filters.invoice test
2017-06-03 01:48:30 +08:00
Jeff
e9d08c6f7a
Merge branch 'master' into paymenthandlers-new
...
# Conflicts:
# telegram/bot.py
# telegram/message.py
# telegram/precheckoutquery.py
# telegram/shippingquery.py
2017-06-03 01:09:17 +08:00
Noam Meltzer
137ffe2e73
Merge remote-tracking branch 'origin/master' into payment
2017-06-01 22:01:04 +03:00
Noam Meltzer
c4b78673a3
payment: cr fixes
2017-06-01 21:52:47 +03:00
evgfilim1
5b1252ac2d
Perfomance optimizations
...
Using `or` instead of `|`
2017-06-01 16:36:32 +05:00
evgfilim1
d98b18d1e3
Added new status_update
filters
2017-06-01 07:09:30 +05:00
Jannes Höke
9d6c394b02
Bump version to v6.0.3
2017-05-29 22:55:15 +02:00
Jannes Höke
1951d6fdcd
Bump version to v6.0.2
2017-05-29 21:24:12 +02:00
azogue
b46bdf5304
fix setting default mimetype of inputfile
2017-05-29 08:30:29 +02:00
Noam Meltzer
cd24bb4ba5
payment: Small fixes
...
- Semantic fixes bot.py (if XXX is not None: ...).
- Documentation fixes (arguments which are optional).
2017-05-26 20:02:18 +03:00
Noam Meltzer
ae33d33580
Merge pull request #625 from python-telegram-bot/videonote
...
Add VideoNote
2017-05-26 19:34:13 +03:00
Noam Meltzer
706f79fa99
Fix setup.py with urllib3 vendoring
...
fixes #635
2017-05-26 19:24:54 +03:00
Noam Meltzer
a5bfc52326
videonote: Semantic fix according to CR
2017-05-26 18:36:21 +03:00
Noam Meltzer
858684ab64
Merge pull request #628 from python-telegram-bot/may18minor
...
May 18 minor changes
2017-05-26 18:23:31 +03:00
Jacob Bom
f4c6197c5f
Update filters to new_chat_members instead of new_chat_member
2017-05-25 14:45:47 +02:00
Jacob Bom
a7044562af
Fix stuff as per @tsnoam's comments
2017-05-25 14:16:53 +02:00
Jacob Bom
27a4fa8dba
Move *_duration attributes as to keep backwardscompat
2017-05-25 14:05:08 +02:00
Jacob Bom
a41ee3b040
Actually deprecate new_chat_member to help users switch
2017-05-25 14:02:41 +02:00
Jacob Bom
8499dcc33c
Better deprecation warnings
...
Actually shows where in the users code the error happened, not just where the warning came from in our internal code
2017-05-25 13:53:35 +02:00
Noam Meltzer
ff897ce9ef
Avoid confusion with user's urllib3 by renaming vendored urllib3
2017-05-24 13:14:33 +03:00
Jeff
f314915954
fix typo again
2017-05-23 16:26:04 +08:00
Jeff
1bf0078573
add missing "need_email" in sendInvoice, fix pep8/flake
2017-05-23 16:21:45 +08:00
Jeff
96171112bf
fix crucial typo in filters
2017-05-22 23:42:09 +08:00
Jeff
27238c52e2
add successful_payment filter under message
2017-05-22 23:39:28 +08:00
Jeff
43f4128b31
fix answer* methods not sending api requests
2017-05-22 22:55:19 +08:00
Jeff
1142953108
add checks for answer* methods
2017-05-22 22:47:35 +08:00
Jeff
1e250f2415
add kwargs to answer* methods
2017-05-22 21:37:15 +08:00
Jeff
8f2f29c7d4
fix typo, add bot and kwargs to class init
2017-05-22 21:32:42 +08:00
Jeff
3767d26fc8
Add both handlers for queries from new Payment API ( #630 )
...
* add handlers for new payment API
* fix typo
* fix docstring mistakes
* added missing 'from_user'
2017-05-22 14:07:53 +02:00
Jacob Bom
630b63ec10
Add payment filters
2017-05-22 12:13:00 +02:00
Jacob Bom
01430a24a5
Import order fix
2017-05-21 15:51:01 +02:00
Jacob Bom
acda19b7e7
Merge branch 'may18minor' into beta
2017-05-21 15:45:40 +02:00
Jacob Bom
48fa3d975b
Merge branch 'videonote' into beta
...
# Conflicts:
# telegram/__init__.py
# telegram/message.py
2017-05-21 15:45:20 +02:00
Jacob Bom
d220ff4e38
Merge branch 'payment' into beta
2017-05-21 15:42:24 +02:00
Jacob Bom
5a15d1b5d6
Add mpeg4_duration and gif_duration to inline gif and mpeg4gif
2017-05-21 14:38:12 +02:00
Jacob Bom
ad347b5c02
new_chat_member -> new_chat_members
...
Keep old for now... we can remove it in the future when telegram stops parsing it along.
Also: TODO: write proper Message tests
2017-05-21 14:32:36 +02:00
Jannes Höke
ba6c4fd517
Bump version to v6.0.1
2017-05-21 14:25:40 +02:00
Jannes Höke
1c4c228cf1
add support for User.language_code ( #624 )
...
* add support for User.language_code
* Add language filter
Useful is you wanna do something like restrict your shop to a single or a few locales or something like that.
2017-05-21 14:00:53 +02:00
Jacob Bom
2e89e21261
Fix text_markdown and text_html ( #623 )
...
* Fix text_markdown and text_html
* Missed a few narrow build checks
* Added tests for emoji-first strings and emojis in url
2017-05-21 14:00:07 +02:00
Jacob Bom
2dd5290ec2
Add reply_video_note in line with other reply_*
2017-05-21 13:51:27 +02:00
Jacob Bom
41299244b7
Allow InputFile to handle video notes
2017-05-21 13:50:52 +02:00
Jacob Bom
0e2bcf28a6
Export VideoNote
2017-05-21 13:50:15 +02:00
Jacob Bom
2746ab77e5
Add sendVideoNote to Bot
2017-05-20 19:35:55 +02:00
Jacob Bom
ae39c902ed
Add video_note to Message
2017-05-20 19:30:07 +02:00
Jacob Bom
65929a0813
VideoNote chatactions
2017-05-20 19:26:26 +02:00
Jacob Bom
4426eb0c61
Add VideoNote
2017-05-20 19:25:24 +02:00
Jacob Bom
d4f2f2e077
Getting instead of popping
...
I really think we should be popping and I'm unable to see why it makes our tests fail, but for now.. rolling back.
2017-05-20 19:02:01 +02:00
Jacob Bom
76db279624
We have to send and array... that's new...
2017-05-20 18:46:39 +02:00
Jacob Bom
a97da5cb20
Sooo apparently python 2 doesn't like ‘ (\xe2)
2017-05-20 17:36:10 +02:00
Jacob Bom
5f96c507b9
Payment ids should be unique... probably
2017-05-20 17:31:46 +02:00
Jacob Bom
402e1381bb
OrderInfo can be completely empty
...
In which case it should still be an OrderInfo not None
2017-05-20 17:31:46 +02:00
Jacob Bom
b276b06b31
Pop instead of get if our name doesn't match telegrams (user/from_user)
2017-05-20 17:31:46 +02:00
Jacob Bom
b69ecc3015
Fix import order
2017-05-20 17:31:46 +02:00
Jannes Höke
6479e15578
Bump version to v6.0.0
2017-05-19 21:49:01 +02:00
Jannes Höke
5dd3a660e3
forgot some escaping
2017-05-19 20:57:52 +02:00
Eldinnie
e2a651afc8
Allow edited as seperate input ( #608 )
...
* Allow edited as seperate input
In short made it possible to tune messagehandler more to your wishes. and choose exactly what updates to receive. messages, edited_message or channel_post or a combination.
- Added the edited_updates argument to MessageHandler
- Added DepricationWarning when using allow_edited
- replaced _is_allowed_message and _is_allowed_channel_post with _is_allowed_update
- Modified tests to reflect new way
* oops
Spelled deprecation wrong
made an error in the _is_allowed_update.
* Python 2 does not have assertWarns.
* remove unneeded statements
2017-05-19 20:26:10 +02:00
Jacob Bom
834c1ab3c5
Merge branch 'master' into payment
2017-05-19 20:25:46 +02:00
Evgen
33512ffd2e
Improved CommandHandler ( #613 )
...
* Improved CommandHandler
Now you can pass list of commands instead of one command
* Added tests for list of commands
* Return backward compatibility
Renamed `commands` to `command` in CommandHandler
* Added test for a command not in the list
* Fixed py2 unicode command support in `CommandHandler`
2017-05-19 20:21:37 +02:00
Evgen
c2c5452829
Updated docstring in deleteMessage methods ( #618 )
...
* Removed "undocumented" notice
* Updated docstring according to Bot API documentation
* Removed extra line
2017-05-19 20:21:20 +02:00
Jacob Bom
c78d697b0e
Add invoice and successful_payment to Message
2017-05-19 20:06:58 +02:00
Jacob Bom
2929c76248
Fix docstring for Message
2017-05-19 20:04:24 +02:00
Jacob Bom
034bcf0895
Add pay inlinekeyboardbutton type
2017-05-19 19:49:31 +02:00
Jacob Bom
8be57198b4
New payment bot methods
...
sendInvoice, answerShippingQuery, and answerPreCheckoutQuery
2017-05-19 19:46:42 +02:00
Jacob Bom
8e62b02ff6
Add new payment classes
...
Invoice, LabeledPrice, OrderInfo, PreCheckoutQuery, ShippingAddress, ShippingOption, ShippingQuery and SuccessfulPayment
2017-05-19 19:41:06 +02:00
Jannes Höke
9aa5522694
sanitize html and markdown in Message.text_html and text_markdown ( #621 )
...
* sanitize html and markdown in Message.text_html and text_markdown
* add import for escape_html
2017-05-19 19:11:40 +02:00
evgfilim1
578627feca
Fixed and added some type hints in docstrings
2017-05-17 21:41:08 +05:00
Jacob Bom
1b7f83625c
Update copyright notice to include 2017
...
Not strictly needed, but it helps show that the project is being actively
developed which I find important.
2017-05-15 00:36:49 +03:00
Jacob Bom
da01601ff9
Add equality rich comparision operators to telegram objects ( #604 )
...
fixes #587
2017-05-15 00:29:31 +03:00
Evgen
752b64769d
Fix for #601 ( #603 )
2017-05-12 17:42:02 +02:00
Evgen
f3b75d95c4
Implemented undocumented 'deleteMessage' method ( #602 )
...
* Implemented `Bot.delete_message()` and `Message.delete()` methods
* Added tests for `Bot.delete_message()` and `Messsage.delete()`
* Added myself to `AUTHORS.rst`
* Using `assertRaisesRegexp` instead of `assertRaisesRegex` in tests
Now tests can run on Python 2.7 without raising 'AttributeError'
* Fix docstring
Added a warning to the docstring describing that this method is undocumented and not guaranteed to work
2017-05-12 17:40:57 +02:00
Eldinnie
f3aca42e69
pass errormessage to Unauthorized ( #597 )
2017-05-12 17:38:36 +02:00
Rahiel Kasim
9f3afa5fa2
prefer snake_case for telegram.Bot methods
2017-05-07 16:09:58 +02:00
Joscha Götzer
cdf36a20b7
Fixed deprecation warning ( #586 )
2017-04-29 19:56:27 +02:00
manorom
c5598b96bc
Fix Bug #571 (second try) ( #574 )
...
* Fix Bug #571
ConversationHandler will not process CallbackQuery if per_chat=True and
the CallbackQuery has no message attached to it (as is the case with
buttons on inline results)
* Adds test case for CallbackQuery without Chat
2017-04-29 15:51:48 +02:00
Noam Meltzer
ca4351079f
Merge pull request #542 from python-telegram-bot/urllib3-vendor-beta
...
Vendor (embed) urllib3 with our package.
2017-04-29 16:38:44 +03:00
Jannes Höke
c7dbdce3dc
Allow CallbackQueryHandler in ConversationHandler with per_mess… ( #561 )
...
* 🐛 Allow CallbackQueryHandler in ConversationHandler with per_message=False
but show a warning #556
* ⏪ warning logs instead of ValueErrors
#556
2017-04-29 15:15:17 +03:00
Noam Meltzer
fe5ae8ed84
request.py: Fix warning on stderr irrelevant for most users
...
Attempting to import urllib3.contrib.socks may fail if PySocks is not
installed. Most users won't care for that.
Only import that module if the user requested to use a socks proxy.
2017-04-29 14:42:36 +03:00
Noam Meltzer
a6b28b022a
Merge remote-tracking branch 'origin/master' into urllib3-vendor-beta
2017-04-29 14:09:45 +03:00
John Yong
1d905d567c
GAE support via urllib3.contrib.appengine module #334
2017-04-27 16:59:35 +08:00
Jannes Höke
4541476143
enforce urllib3==1.20 ( #580 )
...
* 🚑 enforce urllib3==1.20
#579
* 🚑 Bump version to v5.3.1
#579
2017-04-25 17:26:54 +02:00
Dickson Tan
11a3de67ea
Remove deprecated code #408 part 1 ( #564 )
...
* Remove non-pep8 dispatcher methods
* callbackqueryhandler: Remove non-pep8 compliant methods
* commandhandler: Remove non-pep8 compliant methods
* handler: Remove non-pep8 compliant methods
* messagehandler: Remove non-pep8 compliant methods
* stringcommandhandler: Remove non-pep8 compliant methods
* stringregexhandler: Remove non-pep8 compliant methods
* test_updater: fix usage of deprecated methods
* dispatcher: fix accidental misalignment of comments by pre-commit hook
* Add myself to list of contributors
2017-04-25 10:39:02 +02:00
Eldinnie
90bf26c09b
Issue 566 ( #577 )
...
* stripping token of whitespaces before starting bot
* Line feed
* - Case insensitivity for commandhandler
- Ignore pylint case on windows.
2017-04-25 10:37:06 +02:00
Eldinnie
b5b09884b1
Group filters ( #575 )
...
* stripping token of whitespaces before starting bot
* Line feed
* show exception that's caused (fixes flake8 failing)
* Add private/group filters
Add filters:
- Filters.private (for messages in private chats)
- Filters.group (for messages in group chats)
* use constants
2017-04-23 23:22:05 +02:00
Iulian Onofrei
44d7bad11c
Update constants.py ( #553 )
...
Add maximum inline query results constant
2017-03-29 17:31:26 +02:00
Jacob Bom
ad5f009ce7
Add the ability to invert (not) filters ( #552 )
...
* Add InvertedFilter and use it from __invert__
* Add docstrings and __str__ for inverting filters
* Tests for inverted filters
2017-03-28 18:38:44 +02:00
Jannes Höke
8fe6e13ff2
Update handlers ( #532 )
...
* 🔨 Refactor `Update.extract_` methods to `Update.effective_` properties
#507
* ✨ Update RegexHandler to work with edited messages and channel posts
* 🔨 messagehandler.py: refactor channel_posts_updates -> channel_post_updates
* 🔨 handler.py: use effective_ properties
2017-03-26 14:36:45 +02:00
Jannes Höke
ff39e2436e
Refactor Update.extract_
methods to Update.effective_
properties ( #531 )
...
* 🔨 Refactor `Update.extract_` methods to `Update.effective_` properties
#507
* 🔨 handler.py: use effective_ properties
2017-03-26 14:36:34 +02:00
Alex Hirschfeld
5b14b134dc
Added user defined function for updater's signalHandler ( #512 )
...
* Added user defined function for updater's signalHandler
* Added test_userSignal to test_updater
* Added test_userSignal to test_updater
Fixing paren
2017-03-26 14:36:13 +02:00
Jannes Höke
5897affa07
add missing allowed_updates to start_webhook ( #549 )
...
* 🐛 add missing allowed_updates to start_webhook
#548
* 🔨 fix webhook-related tests
#548
2017-03-25 12:46:37 +01:00
Jannes Höke
9982f3c908
🐛 fix message date parsing for messages without a timestamp ( #550 )
...
#546
2017-03-25 12:15:37 +01:00
thodnev
22142e7cbd
Introduce MessageQueue ( #537 )
...
* Introduce MessageQueue
* minor documentation and terminology fixes according to the review
* minor documentation and terminology fixes according to the review
* minor documentation and terminology fixes according to the review
* pep8 fix
2017-03-15 17:35:33 +01:00
Noam Meltzer
4c8d1c9a5e
Fix Bot.sendDocument
2017-03-11 23:55:26 +02:00