Pietu R
e86ae25a62
Update CallbackQuery docstrings ( #1818 )
...
* mark chat_instance as required
* change ordering and add bot
2020-03-28 15:52:37 +01:00
isinstance
818475bd93
Fix Server response could not be decoded using UTF-8 ( #1623 )
...
Co-authored-by: Noam Meltzer <tsnoam@gmail.com>
2020-02-03 00:12:27 +02:00
Eana Hufwe
d9d65cc2ac
Add poll messages support to filters ( #1673 )
2020-01-26 22:57:48 +02:00
rizlas
e3c8466e41
Rename enocde_conversations_to_json() -> enocde_conversations_to_json() ( #1661 )
...
Fixes #1660
2020-01-26 22:24:00 +02:00
Bibo-Joshi
5e8a961669
Refactor msg_in ( #1631 )
...
* Revert "Add msg_in filter (new) (#1570 )"
This reverts commit 34bdbc632a
.
* Refactor msg_in, add Filters.caption on the fly
* Update docstrings
* Fix copy-paste typo
2019-11-29 13:09:44 +01:00
Bibo-Joshi
34bdbc632a
Add msg_in filter (new) ( #1570 )
...
Closes #1144
2019-10-27 01:12:54 +03:00
Bibo-Joshi
aadb6df271
Nested ConversationHandlers ( #1512 )
...
Fixes #405
2019-10-11 22:59:36 +03:00
zeshuaro
32dd415fb8
Add instance methods to Animation and ChatPhoto ( #1489 )
...
get_file, get_small_file, get_big_file
2019-09-13 22:07:56 +03:00
Bibo-Joshi
4cd07361d1
Inline Keyboard example ( #1502 )
...
Supersedes. aka. fixes #884
2019-09-13 21:43:03 +03:00
Poolitzer
2c92c356b8
Error handlers now handle all errors ( #1483 )
...
* python3.4 is no longer supported
* Prepare CHANGES.RST & README.rst for v12.0.0 release
* CHANGES.rst: small fix
* Add Bibo-Joshi to Credits
* improving error_handler
* fixing affected tests
2019-08-27 09:09:02 +02:00
Ales Dokshanin
179cf14bd8
#1410 Call task_done() on update queue after update processing finished ( #1428 )
2019-08-23 21:54:07 +03:00
Loo Zheng Yuan
2ed4cbd26d
Fix #1366 : _trigger_timeout() missing 1 required positional argument: 'job' ( #1367 )
...
* Fix #1366 : _trigger_timeout() missing 1 required positional argument: 'job'
* Add comments
2019-04-05 12:59:32 +02:00
Jasmin Bom
1b52e6148e
Merge branch 'master' into V12
2019-02-08 12:49:28 +01:00
Ambro
23fe991b85
Fix bug: unable to save jobs with timezone aware dates ( #1308 )
...
* Fix bug on jobs with timezone aware dates
* Add Ambro17 as colaborator
2019-01-04 20:29:07 +01:00
Bibo-Joshi
f23298a13b
Fix typos in telegram/bot.py ( #1305 )
2018-12-04 15:06:48 +01:00
Pieter Schutz
f252436cd4
Merge remote-tracking branch 'origin/master' into V12
2018-11-01 09:32:55 +01:00
Evan Haberecht
4861d1a20d
Removed unneccessary else and replaced with comment ( #1247 )
...
* Resolved issue #1163 : Removed unneccessary else and replaced with comment
* Added myself to AUTHORS.rst
2018-10-08 08:18:33 +02:00
simonvorobjev
dbf364e168
Allowed to use Handlers on conversation timeout ( #1217 )
...
* handler for ConversationHandler.END (timeout one) #1136
* review fixes
* review fixes
* review fixes
* review fixes
* docs and tests
* fixing stuff
* Fix problem
* fix conftest
* now it should work
* Add ConversationTimeoutContext
As discussed in the developers group. Use a class as the jobs context over using a dict.
* less verbosity
2018-10-04 08:58:40 +02:00
Ehsan
3829666a53
add text mention for message parse ( #1206 )
...
* add text mention for message parse
* add author
* Update .gitignore
2018-09-25 20:07:55 +02:00
Kirill Vasin
f2b06728e9
Replace http.server with Tornado ( #1191 )
...
Fixes #1189
2018-09-08 23:25:48 +03:00
Jasmin Bom
d4b5bd40a5
Update AUTHORS.rst
...
Name change, plus adding @eldinnie and I to maintainers.
2018-06-26 19:51:45 +02:00
Trainer Jono
78fee3c1dc
Fixed docstring of {User,Chat}.send_* methods ( #1081 )
...
* Changed all "User.chat_id"s to "User.id"
* Chat.chat_id --> Chat.id
2018-04-25 23:21:11 +03:00
Wagner Macedo
5efd5e2586
CommandHandler faster check ( #1074 )
...
Fixes #1073
2018-04-17 07:37:29 +03:00
Or Bin
712baf0c07
Added video note filter ( #1067 )
2018-04-14 21:53:54 +02:00
Emilio Molinari
3ccf40e8cc
Make chat_id a positional argument inside shortcut methods of Chat and User classes #1048 ( #1050 )
...
* Make chat_id a positional argument #1048
* Fixed tests
2018-03-17 00:10:11 +01:00
Paul Larsen
b67ea7a691
CommandHandler - ignore strings in entities and "/" followed by whitespace ( #1020 )
2018-03-01 10:11:16 +02:00
Oleg
62e76f1fba
bot.py: Add shortcut method reply_media_group ( #994 )
...
fixes #936
2018-02-12 15:51:18 +02:00
Mischa Krüger
eb67c039f1
Updater: Issue INFO log upon received signal ( #951 )
...
Fixes #946
2018-01-09 17:54:07 +02:00
Daniel Reed
5c8470e552
Store bot in PreCheckoutQuery ( #953 )
...
Fixes #937
2017-12-30 14:48:38 +02:00
Simon Schürrle
38637ecf62
Update examples with consistent string formatting ( #870 )
...
* Use the modern string.format().
* Wherever logging is involved, let logging take care of the expansion.
2017-10-20 21:24:00 +03:00
Ihor Polyakov
b6ef30a454
Authors list ( #758 )
2017-08-01 23:10:07 +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
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
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
azogue
1e3e8973ba
added myself to authors
2017-06-02 08:25:39 +02:00
Jeff
05ed693fb6
fix authors typo
2017-05-22 18:11:19 +00:00
Jeff
2c05b03fba
add handlers for new payment API
2017-05-22 19:20:26 +08: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
Noam Meltzer
a6b28b022a
Merge remote-tracking branch 'origin/master' into urllib3-vendor-beta
2017-04-29 14:09:45 +03:00
John Yong
785245a57e
Add myself to authors list
2017-04-27 17:00:31 +08: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
Rahiel Kasim
35132271af
contributing: how to run tests without make; AUTHORS: fix formatting ( #567 )
2017-04-17 14:49:42 +03: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
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
bfb99a688a
AUTHORS.rst: Add self to maintainers and add license info about urllib3
2017-03-11 23:50:30 +02:00
Jannes Höke
85b9236641
Update AUTHORS.rst
2017-02-28 15:55:38 +01:00
Jose Luis Salazar Gonzalez
e78d11a99b
Add filters to commandHandler ( #536 )
...
* Add filters to commandHandler
* Add commandHandler tests with filters
* Add myself to authors
2017-02-28 15:44:55 +01:00
代码家
264b9bd08c
add myself to authors ( #527 )
2017-02-26 13:57:50 +01:00
Anton Tagunov
48bcc3129a
set timeout for post message with file object ( #486 )
2016-12-29 12:01:58 +02:00