Commit graph

186 commits

Author SHA1 Message Date
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