Commit graph

206 commits

Author SHA1 Message Date
Jannes Höke
83812f3af6 rename boteventhandler.py to updater.py 2015-11-22 19:20:05 +01:00
Jannes Höke
d91f210f7c refactor BotEventHandler to Updater, improve documentation, add idle() method 2015-11-22 19:15:17 +01:00
Jannes Höke
65177e791f raise error instead of quietly exiting on bad SSL cert 2015-11-22 16:46:17 +01:00
Jannes Höke
15501e185b renamed broadcaster.py to dispatcher.py 2015-11-22 14:52:41 +01:00
Jannes Höke
1782d0d19b refactor Broadcaster to Dispatcher 2015-11-22 14:47:38 +01:00
Jannes Höke
88fbf3b5cf remove broadcaster argument from __init__ 2015-11-22 14:27:05 +01:00
Jannes Höke
3e732a0736 fix multiple additional arguments 2015-11-22 14:07:20 +01:00
Jannes Höke
e4de3f00b8 Add optional handler argument 'args' and documentation on handlers 2015-11-22 13:57:59 +01:00
Jannes Höke
32c021fdd5 Don't create new bot when broadcaster is passed 2015-11-22 13:30:23 +01:00
Jannes Höke
a6e5a71e05 Check SSL-Certificate, if possible 2015-11-22 01:03:29 +01:00
Jannes Höke
fca8aee177 improve logging 2015-11-21 23:09:19 +01:00
Jannes Höke
7c9928c58f Let shutdown return immediately if server is not running 2015-11-21 21:22:11 +01:00
Jannes Höke
0cd7aa92ae more logging 2015-11-21 21:21:09 +01:00
Jannes Höke
618df51811 flake8 2015-11-21 16:04:06 +01:00
Masoud Naservand
ed6dd76ae8 Corrected trailing whitespaces 2015-11-17 18:27:22 +03:30
Jannes Höke
9defc41774 correct docstrings 2015-11-17 00:04:28 +01:00
Jannes Höke
ee8b78aa0d pep8 and docs 2015-11-16 20:43:35 +01:00
Jannes Höke
0b8fd24771 fixed issues with python2 2015-11-16 20:35:27 +01:00
Jannes Höke
396dc6cd3c Implement webhook listener server 2015-11-16 13:05:57 +01:00
Jannes Höke
f59efe0f4b forward related update to errorhandlers 2015-11-15 19:12:42 +01:00
Jannes Höke
12201f392d graceful stopping of threads, use logging, reuse of broadcaster 2015-11-15 17:36:38 +01:00
Jannes Höke
04050ca883 Merge branch 'master' of github.com:leandrotoledo/python-telegram-bot into boteventhandler 2015-11-13 11:05:26 +01:00
Jannes Höke
10451509f1 fix for issue #79 2015-11-12 19:15:39 +01:00
Jannes Höke
45712c52f1 Merge branch 'master' of github.com:leandrotoledo/python-telegram-bot into boteventhandler 2015-11-11 14:27:58 +01:00
Jannes Höke
0b4c23f50e improve error handling on timeouts 2015-11-11 14:06:10 +01:00
Jannes Höke
63c895c0a0 run_async moved to broadcaster and uses a thread pool now 2015-11-11 13:33:03 +01:00
leandrotoledo
5eb4f8e5cd Minor pep8 fix 2015-11-10 20:31:51 -02:00
Jannes Höke
af375eb402 improved code quality 2015-11-10 23:15:37 +01:00
Jannes Höke
bf356e124f add run_async decorator 2015-11-10 23:15:37 +01:00
Jannes Höke
d7fd43ca79 Import BotEventHandler and Broadcaster 2015-11-10 23:15:37 +01:00
Jannes Höke
ef99bab435 initial commit for BotEventHandler and Broadcaster 2015-11-10 23:15:37 +01:00
Jannes Höke
93afd3eabe remove check for network_delay 2015-11-10 23:12:20 +01:00
Jannes Höke
61dac76bee don't send network_delay to telegram servers 2015-11-10 22:40:19 +01:00
Jannes Höke
4bc03ed56a Add parameter network_delay for slow connections and increase default to 2 seconds 2015-11-10 19:47:21 +01:00
Leandro Toledo
6c13762c93 Fixes PEP8 and Lint minor issues 2015-11-10 12:10:50 -02:00
Leandro Toledo
8a5ec3b2a1 Merge pull request #92 from jh0ker/emoticons
Decode Emoji byte strings into unicode strings if using Python 3 (Alternative)
2015-11-10 11:58:57 -02:00
Leandro Toledo
5fe1481ae9 Revert 1879cff82d 2015-11-10 11:55:42 -02:00
Leandro Toledo
1879cff82d Merge pull request #85 from jh0ker/master
Decode Emoji byte strings into unicode strings if using Python 3
2015-11-10 11:55:19 -02:00
Jannes Höke
cd5e805692 added documentation 2015-11-10 05:16:16 +01:00
Jannes Höke
3928e27cf4 Merge pull request #90 from rahiel/master
raise exception if telegram times out on long-polling
2015-11-10 04:56:18 +01:00
Jannes Höke
89015e5ecc fix for sending into a channel 2015-11-03 13:46:23 +01:00
Jannes Höke
025d4c9a75 fix emojis for python3 2015-11-03 12:24:44 +01:00
Jannes Höke
d3bea4c3b4 make user_from optional, because of channels 2015-11-03 10:28:06 +01:00
Jannes Höke
a6c12adda2 make user_from optional, because of channels 2015-11-03 10:20:45 +01:00
Rahiel Kasim
dcb9129809 raise exception if telegram times out on long-polling 2015-11-02 20:30:37 +01:00
Jannes Höke
22b492762b Decode Emoji byte strings into unicode strings if using Python 3 (missed something) 2015-10-23 00:32:10 +02:00
Jannes Höke
fea0c5cc2b Decode Emoji byte strings into unicode strings if using Python 3 2015-10-23 00:29:26 +02:00
Leandro Toledo
688d6af541 Releasing v2.8.7 2015-10-08 11:31:48 -03:00
Leandro Toledo
3fa8b97ed2 Type as optional for GroupChat 2015-10-08 11:30:02 -03:00
Leandro Toledo
f2b0cb46a2 Releasing v2.8.6 2015-10-08 10:23:12 -03:00