Leandro Toledo
736d62e20d
New methods kickChatMember and unbanChatMember #232
2016-04-12 00:46:50 -03:00
Leandro Toledo
1e4ae6546f
Changing INFO logs to DEBUG and minor fixes
2016-03-14 22:56:20 -03:00
Aydar Biktimirov
dc9b77e02c
Merge remote-tracking branch 'upstream/master'
2016-03-11 23:03:13 +03:00
Rahiel Kasim
5958da0031
bot.sendMessage: update documentation
2016-03-11 20:32:10 +01:00
Aydar Biktimirov
433110abe9
Added disable_notification parameter for silent messages
2016-03-09 18:47:33 +03:00
Jannes Höke
4aca4d1d1f
Merge pull request #187 from python-telegram-bot/flaky-tests
...
Flaky tests
2016-02-28 01:02:11 +01:00
Noam Meltzer
fc618274ae
bot.py: allow specifying timeout for sendVideo operations
2016-02-27 23:00:33 +02:00
Jannes Höke
efd10507d0
remove kwargs in favor of named keyword arguments, validate argument types
2016-02-21 11:33:34 +01:00
Jannes Höke
2a01292a64
Merge branch 'master' into inlinebots
2016-02-07 22:42:12 +01:00
Noam Meltzer
d4beb94059
Add specific exceptions types for important errors
...
maintain backward compatibility with the 'old' exception by inherting
from TelegramError and using the same message
2016-02-06 18:48:55 +02:00
Jannes Höke
6d2e159d75
move 'no new updates found' message to debug ( #167 )
2016-01-31 10:32:34 +01:00
Jannes Höke
5c2458bfd8
merge master into inlinebots
2016-01-14 15:28:22 +01:00
leandrotoledo
dfc75cc64e
Add docstring style checker and fixing some
2016-01-13 14:09:35 -02:00
Jannes Höke
c69cdfd184
Initial commit for inline bot support
2016-01-09 15:09:48 +01:00
Jannes Höke
aa8966832b
release 3.2 and update copyright notice to 2015-2016
2016-01-05 14:12:03 +01:00
Noam Meltzer
17dae68654
gitignore: files generated by unitests
2016-01-04 00:32:17 +02:00
Noam Meltzer
aeca3ca174
basic token validation
...
refs #134
2016-01-04 00:31:40 +02:00
Jannes Höke
ea7c54ba07
Release v3.1.1, change author email everywhere
2015-12-21 21:18:53 +01:00
Jannes Höke
6e158042e1
API updates Oct and Nov
2015-12-16 15:31:02 +01:00
leandrotoledo
5eb4f8e5cd
Minor pep8 fix
2015-11-10 20:31:51 -02: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
b79530b10c
Adding File and its tests
2015-09-20 12:28:10 -03:00
Leandro Toledo
f623db06ea
Revert "Feature/requests"
2015-09-16 00:21:45 -03:00
pecheny
d5a9c185f0
use requests instead of urllib if possible; add timeout and decorator to get and post
2015-09-14 19:13:22 +03:00
Leandro Toledo
a7ac4193fe
PEP8, lint and TelegramError class refactor
2015-09-10 20:08:24 -03:00
ErgoZ
53c44f14bd
Add Markdown support for sendMessage method.
2015-09-10 20:15:20 +03:00
ErgoZ
17b8bb4881
Code cleanup for filename. Filename uses only for sendDocument.
2015-09-10 14:46:49 +03:00
ErgoZ
714adc13ee
Add ability to set custom filename
...
For commands that uses InputFile class
2015-09-08 20:42:23 +03:00
leandrotoledo
a409fc511d
Improve raise of empty chat_id
2015-09-07 15:53:43 -03:00
leandrotoledo
cfd401f22b
Moving _requestURL method to utils package
2015-09-05 11:55:55 -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
Leandro Toledo
b20f5af1e1
Improving the design of existing Telegram classes and adding docstrings
2015-08-28 12:19:30 -03:00
rahiel
ccdb999e37
add remaining chat actions
2015-08-25 13:45:02 +02:00
Leandro Toledo
6e2881b31b
Adding support for Voice object and sendVoice method #39
2015-08-17 11:34:42 -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
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
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
59b247af94
Moving from GPLv2 to LGPLv3
2015-08-10 13:57:31 -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
ab88afc3d3
PEP8 and minor fixes
2015-08-08 19:35:44 -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
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
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