Prepare to release v3.3

This commit is contained in:
Marco Sangalli 2016-02-28 02:33:49 +01:00
parent 75c6662f35
commit c88865da04
5 changed files with 22 additions and 3 deletions

View file

@ -1,3 +1,16 @@
**2016-02-28**
*Released 3.3*
- Inline bots
- Send any file by URL
- Specialized exceptions: ``Unauthorized``, ``InvalidToken``, ``NetworkError`` and ``TimedOut``
- Integration for botan.io (thanks to @ollmer)
- HTML Parsemode (thanks to @jlmadurga)
- Bugfixes and under-the-hood improvements
**Very special thanks to Noam Meltzer (@tsnoam) for all of his work!**
**2016-01-09**
*Released 3.3b1*

View file

@ -60,7 +60,7 @@ author = u'Leandro Toledo'
# The short X.Y version.
version = '3.3'
# The full version, including alpha/beta/rc tags.
release = '3.3b1'
release = '3.3.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View file

@ -26,7 +26,7 @@ def requirements():
setup(
name='python-telegram-bot',
version='3.3b1',
version='3.3',
author='Leandro Toledo',
author_email='devs@python-telegram-bot.org',
license='LGPLv3',

View file

@ -56,7 +56,7 @@ from .updater import Updater
__author__ = 'devs@python-telegram-bot.org'
__version__ = '3.3b1'
__version__ = '3.3'
__all__ = ('Bot', 'Updater', 'Dispatcher', 'Emoji', 'TelegramError',
'InputFile', 'ReplyMarkup', 'ForceReply', 'ReplyKeyboardHide',
'ReplyKeyboardMarkup', 'UserProfilePhotos', 'ChatAction',

View file

@ -199,6 +199,7 @@ class Bot(TelegramObject):
text,
parse_mode=None,
disable_web_page_preview=None,
disable_notification=None,
**kwargs):
"""Use this method to send text messages.
@ -213,6 +214,9 @@ class Bot(TelegramObject):
Text of the message to be sent.
disable_web_page_preview:
Disables link previews for links in this message. [Optional]
disable_notification:
Sends the message silently. iOS users will not receive a notification,
Android users will receive a notification with no sound. [Optional]
reply_to_message_id:
If the message is a reply, ID of the original message. [Optional]
reply_markup:
@ -233,6 +237,8 @@ class Bot(TelegramObject):
data['parse_mode'] = parse_mode
if disable_web_page_preview:
data['disable_web_page_preview'] = disable_web_page_preview
if disable_notification:
data['disable_notification'] = disable_notification
return url, data