1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00
Commit Graph

2282 Commits

Author SHA1 Message Date
FrankWang
303e15b88d Merge pull request #84 from AndydeCleyre/patch-1
Fix AttributeError on Python 3
2015-10-09 21:57:05 +08:00
FrankWang
3273aa9afa Merge pull request #85 from AndydeCleyre/patch-2
Fix NameError in Python 3
2015-10-09 12:21:23 +08:00
Andy Kluger
9e8b11051c Fix NameError in Python 3 2015-10-08 16:46:15 -04:00
Andy Kluger
b9d458e643 Fix AttributeError on Python 3 2015-10-08 16:39:22 -04:00
Pieter
1e6361dd57 Fix #83
Added a `encode('utf8')` statement to support non-ASCII symbols in error log messages.
2015-10-06 22:36:57 +02:00
Pieter
ca2019b8f1 Merge pull request #82 from skgsergio/webhook-examples
Add Webhook examples (CPython, Flask, CherryPy)
2015-10-06 13:17:10 +02:00
Sergio Conde Gómez
a230665424 Update README.rst 2015-10-06 12:19:20 +02:00
Sergio Conde Gómez
8eb6e034fe Update README with webhooks information. 2015-10-06 12:11:42 +02:00
Sergio Conde Gómez
d6552eb4c6 Add webhook examples 2015-10-06 12:06:23 +02:00
pieter
117c5a1141 Minor CPU optimization 2015-10-03 12:48:56 +02:00
eternnoir
3f335c37ce Update version.
Change log:
- Add webhook support.
- Better error handling.
- Add threaded parameter for telebot constructor. Allowing users to decide telebot to use thread for polling method.
2015-10-03 16:33:17 +08:00
eternnoir
e7e681928d Fix polling stuch problem. 2015-10-02 23:24:54 +08:00
eternnoir
855ff40070 Fix python3 raise exception error. 2015-10-02 17:08:05 +08:00
pieter
29a42a398b Restored the non-threaded variant 2015-10-02 00:00:54 +02:00
pieter
b801728924 Fix unnecessary raise 2015-10-01 22:43:18 +02:00
pieter
d14e9051d4 Better error handling.
Errors now are re-raised in the Thread polling() was called from.
If none_stop is *not* set, ApiExceptions will cause the calling Thread to halt.
2015-10-01 22:03:54 +02:00
Pieter van den Ham
60ca1751ca WorkerThreads now log ApiExceptions 2015-10-01 11:33:23 +02:00
pieter
941b8ac5d0 Added webhooks support with set_webhook and remove_webhook in the TeleBot class 2015-09-30 18:19:31 +02:00
pieter
7a08102fad Merge branch 'master' of https://github.com/eternnoir/pyTelegramBotAPI into develop 2015-09-30 17:51:45 +02:00
pieter
325061ee96 Added "Bots using this API" section to docs
Added Channel link to docs
2015-09-30 17:50:40 +02:00
eternnoir
8839f36706 Update version.
Change log:
- Bug fix : fix race-condition for register_for_reply.
- Add timeout parameter for polling method.
2015-09-30 23:34:37 +08:00
eternnoir
1c53955d5a Add timeout para for polling method. 2015-09-30 23:18:26 +08:00
FrankWang
9cd28b88be Merge pull request #79 from huiyiqun/master
fix race-condition for register_for_reply
2015-09-30 22:50:08 +08:00
惠轶群
2fb2cd6f20 fix race-condition for message_subscribers 2015-09-30 20:46:37 +08:00
eternnoir
036d000b95 Remove 3.2/3.5 2015-09-22 20:34:06 +08:00
eternnoir
11d4bb02a8 Add Test python version 2015-09-22 20:25:35 +08:00
eternnoir
f4b0b61b9d Update version.
Change log:
- Support File type.
- New method getFile supported.
2015-09-19 23:06:47 +08:00
FrankWang
4b8989f3d2 Merge pull request #74 from eternnoir/develop
Add getFile method and File type
2015-09-19 10:55:44 +08:00
pieter
19b4e35ee5 Attempt to fix failing test case 2015-09-18 21:11:56 +02:00
pieter
61b4ca8a37 Added download_file and created an example 2015-09-18 20:54:22 +02:00
pieter
1038d4fafa Added download_file 2015-09-18 20:53:10 +02:00
pieter
fd1f16598b Added File & getFile, including testing 2015-09-18 20:31:29 +02:00
eternnoir
07c28830db Update version.
Change log:
- Hotfix handler lambda bug.
2015-09-10 21:51:51 +08:00
eternnoir
a8fccdbeb3 Add test. 2015-09-10 21:44:14 +08:00
eternnoir
c213b7732b Add lambda text. 2015-09-10 21:38:09 +08:00
eternnoir
2ca5c0d6f3 Hotfix lambda bug. 2015-09-10 21:27:37 +08:00
eternnoir
2d0c54a7f2 Update version
Change log:
* send_message add parse_mode parameter support.
* Add get_updates method to telebot class.
* Remove time.sleep() from polling method. Use optional
* block parameter
2015-09-09 10:36:25 +08:00
eternnoir
bb0d028750 Add parse_mode markdown test. 2015-09-09 09:43:19 +08:00
eternnoir
e7b4e95fbc Merge remote-tracking branch 'origin/master' into develop 2015-09-09 09:34:13 +08:00
FrankWang
85ffe9936d Merge pull request #71 from eternnoir/implement-parse_mode
Implement parse_mode
2015-09-09 08:22:13 +08:00
pieter
99f6829ede Fix failing test case in Py2.6 because of using {} instead of {0..9} 2015-09-08 22:34:55 +02:00
pieter
55053fe413 Fixed failing test cases because of iteritems() 2015-09-08 22:31:02 +02:00
pieter
f2971c5d6c Merge branch 'redesign-message-handlers' into 'develop' 2015-09-08 22:22:01 +02:00
pieter
89288b166e Implement parse_mode 2015-09-08 21:51:45 +02:00
pieter
88bd6dcbb0 Updated Logging section in README 2015-09-08 19:56:05 +02:00
pieter
710fc273d6 Better log messages 2015-09-08 19:47:55 +02:00
pieter
9f04f0ece2 Fix "module has no attribute 'logger'" 2015-09-08 18:53:36 +02:00
Pieter van den Ham
cc7ab58ed8 Fixed some typos in the README
Fixed a bug where TeleBot would ignore KeyboardInterrupt events
2015-09-08 17:38:44 +02:00
Pieter van den Ham
edf1694606 Fix README message handler table 2015-09-08 11:29:35 +02:00
Pieter van den Ham
f9cbcf9b65 Redesigned message handlers 2015-09-08 10:44:31 +02:00