Commit graph

174 commits

Author SHA1 Message Date
Leandro Toledo
998040da92 Update clibot.py
Changes group=str to int
2016-04-27 22:10:31 -03:00
Noam Meltzer
3f28633e79 MessageHandler / filters: refactor
filters are now functions instead of enum like objects.
their definitions were moved to messagehandler.py
2016-04-26 17:47:37 +03:00
Jannes Höke
d383c10d4e remove check for inline_query 2016-04-22 15:36:46 +02:00
Jannes Höke
4faa4774bd Remove bot token 2016-04-22 09:11:52 +02:00
Jannes Höke
1544f612ae remove cancel command 2016-04-16 21:11:41 +02:00
Jannes Höke
53d1d5f589 fix cancel command 2016-04-16 21:09:24 +02:00
Jannes Höke
6992a7a369 fix key error 2016-04-16 21:03:30 +02:00
Jannes Höke
90576de9e2 inline keyboard example works 2016-04-16 20:55:43 +02:00
Jannes Höke
63c793aad4 initial example for inline keyboard 2016-04-16 20:32:44 +02:00
Jannes Höke
360c3077ea update examples 2016-04-16 19:25:08 +02:00
Avanatiker
0342a5b30b Update timerbot.py
The missing space bothered me.
2016-04-11 13:36:59 +03:00
kiddick@users.noreply.github.com
a264530540 Fix obsolete import for fsm bot. 2016-03-26 19:00:05 +03:00
Jannes Höke
5e7f2688be add encoding to fsm example bot 2016-03-22 02:33:43 +01:00
Jannes Höke
7199d2894f add state machine example 2016-03-21 20:08:32 +01:00
Jannes Höke
af62c5be8e update examples to telegram.ext 2016-03-19 16:39:35 +01:00
Jannes Höke
e2cc8db992 Merge branch 'master' into inlinebots 2016-02-20 11:17:34 +01:00
Rahiel Kasim
3e978277b3 echobot: simplify exception handling 2016-02-09 15:28:54 +01:00
Jannes Höke
c69cdfd184 Initial commit for inline bot support 2016-01-09 15:09:48 +01:00
Karan Sharma
14a9962296 handle case of negative values of seconds 2016-01-05 19:06:28 +05:30
Jannes Höke
4197400853 remove token once again 2016-01-05 14:29:20 +01:00
Jannes Höke
8175fd7b53 update timerbot example 2016-01-05 13:39:51 +01:00
Jannes Höke
81b58c7d00 remove bot token (once again...) 2016-01-04 01:58:50 +01:00
Jannes Höke
dd7d1255d1 fixes, tests and examples for job queue 2016-01-04 01:56:22 +01:00
Rahiel Kasim
90ed128a61 dedicate examples to the public domain (CC0) 2015-12-25 15:19:17 +01:00
Jannes Höke
2a2b679362 improved and renamed examples 2015-12-22 13:23:59 +01:00
Jannes Höke
ea7c54ba07 Release v3.1.1, change author email everywhere 2015-12-21 21:18:53 +01:00
Jannes Höke
c15a1bc151 fix for #123 2015-12-21 19:36:17 +01:00
Jannes Höke
a13245dfbf change 'wb' to 'rb' in certificate open call 2015-12-09 12:59:34 +01:00
Jannes Höke
185bff7117 update example 2015-12-01 18:06:42 +01:00
Jannes Höke
628a4c4eac final renaming of files and flake8 2015-11-24 21:06:55 +01:00
Jannes Höke
1005ad57ce Improve signal handling 2015-11-23 17:40:39 +01:00
Jannes Höke
8d267ed896 use logging 2015-11-22 19:20:16 +01:00
Jannes Höke
593153128c Update examples 2015-11-22 19:15:37 +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
628e1b743a add bits of documentation 2015-11-22 13:58:40 +01:00
Jannes Höke
cccd6e5baf Merge branch 'master' of github.com:leandrotoledo/python-telegram-bot into boteventhandler 2015-11-21 03:29:37 +01:00
Rahiel Kasim
62b79df0a4 handle "Unauthorized" exceptions in echobot 2015-11-20 14:41:12 +01:00
Jannes Höke
be368f7d74 add example for webhook 2015-11-17 00:30:21 +01:00
Jannes Höke
0b8fd24771 fixed issues with python2 2015-11-16 20:35:27 +01:00
Jannes Höke
ba3d174fde Change eh.start() to eh.start_polling() 2015-11-16 13:05:17 +01:00
Jannes Höke
ab313488ad Usage instructions for bots 2015-11-15 20:13:03 +01:00
Jannes Höke
d808462fb6 Simple bot 2015-11-15 20:02:09 +01:00
Jannes Höke
71e73c3999 logging 2015-11-15 19:21:35 +01:00
Jannes Höke
a55df8b5e1 update example 2015-11-15 19:14:12 +01:00
Jannes Höke
ae59a18e2d update example 2015-11-15 17:37:01 +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
Rahiel Kasim
ff0d724f32 improve echobot with cleaner code and basic exception handling 2015-11-12 17:26:25 +01:00
Jannes Höke
3162bc60e9 cleaned up code 2015-11-11 13:32:11 +01:00
Jannes Höke
401add78d3 fix big mistake 2015-11-10 23:15:37 +01:00
Jannes Höke
af375eb402 improved code quality 2015-11-10 23:15:37 +01:00
Jannes Höke
d7d4889c50 use run_async decorator in example 2015-11-10 23:15:37 +01:00
Jannes Höke
c1fae0b5ee example bot for BotEventHandler 2015-11-10 23:15:37 +01:00
Jannes Höke
0f8f6584ce Fix for issue #81 2015-11-10 20:36:26 +01:00
Francisco Demartino
bd1f171f51 Remove .encode('utf-8') from echobot
This was making the bot throw TypeError on py3.

Closes #86
2015-10-23 16:48:26 -03:00
Leandro Toledo
a1f35355f6 Keep bleeding edge features on testing branch 2015-09-20 12:43:32 -03:00
Leandro Toledo
f623db06ea Revert "Feature/requests" 2015-09-16 00:21:45 -03:00
leandrotoledo
30749c3b66 Merging testing 2015-09-04 23:21:31 -03:00
leandrotoledo
121e365348 Oops, restoring file on testing 2015-09-04 19:07:20 -03:00
leandrotoledo
d740ce89cf Keep off some features still in progress 2015-09-04 18:11:47 -03:00
njittam
9241534ba6 Create command_handler_example.py
this is an example of how to write a commandHandler
2015-09-02 16:21:11 +02:00
rahiel
41eb45918c use long polling in examples 2015-08-24 11:46:33 +02:00
rahiel
0691b1e971 confirm processed message in examples 2015-08-20 19:58:57 +02:00
Leandro Toledo
163b27b7dd fix license header 2015-08-11 16:58:17 -03:00
Leandro Toledo
59b247af94 Moving from GPLv2 to LGPLv3 2015-08-10 13:57:31 -03:00
Will Thompson
a034317c87 Don't call logging.basicConfig() in library code
Logging should be configured by the application, not by libraries it
uses. Libraries should just get a logger and log to it.

Fixes #21
2015-07-30 07:04:59 +01:00
leandrotoledo
6b7476c18f Updates echobot and getUpdates logging 2015-07-20 08:59:41 -03:00
leandrotoledo
9f27537176 Error handling when no updates available 2015-07-15 07:47:13 -03:00
leandrotoledo
7d8fcc5fb9 update examples 2015-07-14 04:31:20 -03:00
Leandro Toledo
649fbc40c8 Encode to UTF8 text messages 2015-07-12 10:30:35 -03:00
Leandro Toledo
2cee590ca8 fix unicode issue 2015-07-12 10:18:34 -03:00
Leandro Toledo
77930e0d8b Removing token 2015-07-12 09:56:50 -03:00
Leandro Toledo
582bb61e5b Adding echobot example and fix IOError typo 2015-07-12 09:54:03 -03:00
Leandro Toledo
c3ea91e68c Adding RoboEd as example 2015-07-08 00:59:43 -03:00