Commit graph

111 commits

Author SHA1 Message Date
leandrotoledo
bb84113272 Releasing 2.8 2015-09-04 18:19:05 -03:00
leandrotoledo
245238b3a2 Keep off some features still in progress 2015-09-04 18:03:04 -03:00
leandrotoledo
05b7fda4a1 Add certificate arg to setWebhook function 2015-09-04 17:53:39 -03:00
leandrotoledo
910959b672 Raises error when chat_id is not set 2015-09-04 17:15:44 -03:00
njittam
256d219862 A command handler
I saw in the TODO list on pypi that you wanted a commandhandler. 
I am not sure about the run and run_once commands.
and  I didn't implement logging yet.
2015-09-02 16:17:57 +02:00
Leandro Toledo
98c489c44f Fix Python 3 2015-08-28 17:53:31 -03:00
Leandro Toledo
a86fc6c2ac Improving the design of existing Telegram classes 2015-08-28 17:45:44 -03:00
Leandro Toledo
b20f5af1e1 Improving the design of existing Telegram classes and adding docstrings 2015-08-28 12:19:30 -03:00
Leandro Toledo
ce58f72566 Merge branch 'testing' of https://github.com/leandrotoledo/python-telegram-bot into testing 2015-08-28 11:11:32 -03:00
Masoud Naservand
25f9eb7898 Extended the Bot class. Added a dispatching mechanism,
and decorators to add command to the bot the flask routing style, e.g:
>>> @bot.command('/start')
... def start(command, user_id):
...    return ('Hello, there', None, None)
2015-08-28 18:08:03 +04:30
rahiel
ccdb999e37 add remaining chat actions 2015-08-25 13:45:02 +02:00
leandrotoledo
d43e292499 Adding required comments 2015-08-21 23:22:58 -03:00
leandrotoledo
fdb5f2339c Improving the design of existing Telegram classes and adding docstrings 2015-08-21 23:15:29 -03:00
leandrotoledo
d03a394075 Refactoring, improving the design of existing message class and adding docstrings 2015-08-21 14:49:07 -03:00
leandrotoledo
1d6e9502cb Adding botan.io support 2015-08-20 21:07:49 -03:00
leandrotoledo
8746222cf6 Releasing v2.7.1 2015-08-19 16:16:06 -03:00
leandrotoledo
32dc05ed36 Fix lines too long 2015-08-19 16:08:03 -03:00
leandrotoledo
ba5902c1d4 Fix serialization when message has reply_to_message, new_chat_participant or new_chat_photo #42 2015-08-19 15:41:09 -03:00
Leandro Toledo
a8fd6b5061 Releasing v2.7 2015-08-17 13:15:29 -03:00
Leandro Toledo
d4870148c7 Add telegram.voice to docs and minor docstring fixes #39 2015-08-17 11:40:21 -03:00
Leandro Toledo
6e2881b31b Adding support for Voice object and sendVoice method #39 2015-08-17 11:34:42 -03:00
Leandro Toledo
56f6845969 Adding is_json tests and fixes json serialization when a forwared message #38 2015-08-17 09:56:51 -03:00
Leandro Toledo
3be58b759f Releasing v2.6.1 2015-08-15 15:06:32 -03:00
Leandro Toledo
5dc1e4cac1 Use imghdr instead re to match image headers. Fixes #37 2015-08-15 15:00:28 -03:00
Leandro Toledo
2cecca8324 Releasing v2.6.0 2015-08-14 16:36:39 -03:00
Leandro Toledo
109439022f Minor fixes and cfg for setuptools 2015-08-14 16:30:30 -03:00
Leandro Toledo
59ff1b68b5 clearCredentians and require_authentication are now decapred, bot properties will be called when needed only #33 2015-08-14 16:25:27 -03:00
Leandro Toledo
9b6ccaf94b Convert unix timestamp from date and forward_date in messages to date object #35 2015-08-14 15:47:31 -03:00
leandrotoledo
9b3ce5069e Releasing 2.5.3 2015-08-11 23:49:26 -03:00
leandrotoledo
f2671ffff3 fix space trailing 2015-08-11 23:46:09 -03:00
Leandro Toledo
3974690b90 Fixes base_url when pickling object 2015-08-11 23:43:40 -03:00
Leandro Toledo
eeaf8d9abb Releasing 2.5.2 2015-08-11 17:37:28 -03:00
Leandro Toledo
ecdf32b5f6 Apply new Telegram Bot API changes #32 2015-08-11 17:32:06 -03:00
Leandro Toledo
163b27b7dd fix license header 2015-08-11 16:58:17 -03:00
Leandro Toledo
4d59e8a663 Adding coveralls support, adding base_url to pickle rebuild 2015-08-11 14:13:02 -03:00
Leandro Toledo
5bfbaff318 Implements Bot.__reduce__ to allow dump into pickle objs #31 2015-08-11 12:41:26 -03:00
Leandro Toledo
6b714bc805 Empty text message return empty string instead None #30 2015-08-11 10:48:29 -03:00
Leandro Toledo
85e356403a Releasing v2.5.1 2015-08-10 14:48:24 -03:00
Leandro Toledo
59b247af94 Moving from GPLv2 to LGPLv3 2015-08-10 13:57:31 -03:00
Leandro Toledo
c4087e96d9 Releasing 2.5 2015-08-09 10:17:32 -03:00
Leandro Toledo
66aaaf9ec0 Disable debug and any logging calls in API to fix #21 2015-08-09 09:41:58 -03:00
Leandro Toledo
adcf9b1fd5 Releasing 2.4 2015-08-08 19:37:14 -03:00
Leandro Toledo
ab88afc3d3 PEP8 and minor fixes 2015-08-08 19:35:44 -03:00
Leandro Toledo
af9acb3328 Merge pull request #24 from franciscod/py3-emoji
Fix emojis on py3
2015-08-08 19:28:00 -03:00
Leandro Toledo
0dc59efeb8 Releasing 2.3 2015-08-08 19:18:58 -03:00
Leandro Toledo
448cbdbd00 Merge branch 'master' of https://github.com/leandrotoledo/python-telegram-bot 2015-08-08 19:10:02 -03:00
Leandro Toledo
0c6ec763b1 Fixes ForceReply class 2015-08-08 19:09:24 -03:00
Leandro Toledo
a91c158825 Merge pull request #22 from wjt/logging
Don't call logging.basicConfig() in library code
2015-08-08 18:59:38 -03:00
Francisco Demartino
7d2672f711 use byte literals for emojis 2015-08-06 02:45:15 -03:00
Will Thompson
98e40ee059 Bot._requestUrl: raise if method not in ('GET', 'POST')
If this happens, there is a bug in the library. Better to raise the
error explicitly rather than return a value of a totally unexpected type
and crash later.
2015-07-30 10:47:47 +01:00