We couldn't find 4.0.4 to release this time, releasing 4.1 instead. π
Released 4.1
- Implement API changes from May 6, 2016
- Fix bug when
- Methods now have snake_case equivalent, for example
Released 4.1
- Implement API changes from May 6, 2016
- Fix bug when
start_polling with clean=True- Methods now have snake_case equivalent, for example
telegram.Bot.send_message is the same as telegram.Bot.sendMessageReleased v4.1.1
This release fixes the Deprecation warning caused by
This release fixes the Deprecation warning caused by
Dispatcher using two newly deprecated (mostly internally used) methods πWe are currently considering dropping Python 2.6 support. Would you mind answering this quick poll? https://www.strawpoll.me/10227996
Released v4.1.2
This is a fix release for a critical bug due to Bot API 2.1 changes, where
Please update immediately:
This is a fix release for a critical bug due to Bot API 2.1 changes, where
getUpdates would fail.Please update immediately:
pip install -U python-telegram-botReleased v4.2
- Implement Bot API 2.1
- Move
- New exception type:
Also, we have a small tutorial now: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Extensions-%E2%80%93-Your-first-Bot
Update to latest version with
PS: We're already working on v5.0, featuring an improved
- Implement Bot API 2.1
- Move
botan module to telegram.contrib- New exception type:
BadRequestAlso, we have a small tutorial now: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Extensions-%E2%80%93-Your-first-Bot
Update to latest version with
pip install -U python-telegram-botPS: We're already working on v5.0, featuring an improved
JobQueue and better Emoji support.π1
Released v4.2.1
Minor bug fixes:
- Fix
- Fix
Update to latest version:
Minor bug fixes:
- Fix
CallbackQuery.to_dict() bug (thanks to jlmadurga)- Fix
editMessageText exception when receiving a CallbackQueryUpdate to latest version:
$ pip install -U python-telegram-botReleased v4.3
- Use
- Rewrite
- New requirements:
This release significantly improves performance, so we decided to release it separetely from v5.0, which is coming during the next weeks.
- Use
urllib3.PoolManager for connection re-use- Rewrite
run_async decorator to re-use threads- New requirements:
urllib3 and certifiThis release significantly improves performance, so we decided to release it separetely from v5.0, which is coming during the next weeks.
We just released a fix release v4.3.1, because v4.3 had a wrong version of
Please also check out our new wiki articles!
Webhooks: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Webhooks
Hosting a bot at baum.xyz: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Hosting-a-bot-at-baum.xyz
urllib3 as minimum requirement.Please also check out our new wiki articles!
Webhooks: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Webhooks
Hosting a bot at baum.xyz: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Hosting-a-bot-at-baum.xyz
Another fix release, v4.3.2, was just published.
The
Update to latest version:
The
timeout parameter is now respected again in all telegram.Bot methods.Update to latest version:
$ pip install -U python-telegram-botThe just released v4.3.3 brings back proxy support that was removed with the switch to
urllib3 in the v4.3 release.New major release v5.0
- Rework
- Introduce
- Add
There's also a small guide to help you with the transition: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Transition-guide-to-Version-5.0
- Rework
JobQueue- Introduce
ConversationHandler- Add
telegram.constants moduleThere's also a small guide to help you with the transition: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Transition-guide-to-Version-5.0
GitHub
Transition guide to Version 5.0
We have made you a wrapper you can't refuse. Contribute to python-telegram-bot/python-telegram-bot development by creating an account on GitHub.
We want to keep a list of projects that are related to
If you are developing such a project, please add it to this list: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Related-Projects
python-telegram-bot in some way.If you are developing such a project, please add it to this list: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Related-Projects
To our friends in Brazil, check out this great tutorial by JΓΊlia Rizza:
https://juliarizza.wordpress.com/2016/08/06/fazendo-um-bot-para-telegram-em-python/
https://juliarizza.wordpress.com/2016/08/06/fazendo-um-bot-para-telegram-em-python/
JuliaRizza.py
Fazendo um Bot para Telegram em Python
Um tutorial explicativo de como construir um bot para Telegram usando Python.
Another cool blog post that uses python-telegram-bot for a chat bot with Natural Language Processing! Link: http://blog.algorithmia.com/create-a-chatbot-telegram-python-summarize-text/
We will start collecting articles like this in the wiki, please add any articles you know (or have written yourself) here: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Press
We will start collecting articles like this in the wiki, please add any articles you know (or have written yourself) here: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Press
A new release, at last!
Changelog:
- Drop Python 2.6 support
- Deprecate
- Use
- Add instance methods to
- RegEx filtering for
- New
- Add
- Fix bug in
- Allow multiple
- Add
- Properly split and handle arguments in
First of all: Sorry for letting you wait so long between two releases. Second of all: Holy shit! What an epic changelog!
7 different contributors worked on this release, and there is some cool new stuff to explore. Check out our updated examples on GitHub!
As always, you can upgrade to the latest version with
python-telegram-bot v5.1 is now available on PyPIChangelog:
- Drop Python 2.6 support
- Deprecate
telegram.Emoji- Use
ujson if available- Add instance methods to
Message, Chat, User, InlineQuery and CallbackQuery- RegEx filtering for
CallbackQueryHandler and InlineQueryHandler- New
MessageHandler filters: forwarded and entity- Add
Message.get_entity to correctly handle UTF-16 codepoints and MessageEntity offsets- Fix bug in
ConversationHandler when first handler ends the conversation- Allow multiple
Dispatcher instances- Add
ChatMigrated Exception- Properly split and handle arguments in
CommandHandlerFirst of all: Sorry for letting you wait so long between two releases. Second of all: Holy shit! What an epic changelog!
7 different contributors worked on this release, and there is some cool new stuff to explore. Check out our updated examples on GitHub!
As always, you can upgrade to the latest version with
pip install -U python-telegram-botJust a heads up: We are aware of the Bot API changes of today, October 3rd, and we are already working on it.
The prophecy was fullfilled! We just released v5.2
- Implement API changes of October 3rd (games update)
- Add
- Filters for the
- Add a way to save user- and chat-related data temporarily (check out the new
- Other bugfixes and improvements
- Implement API changes of October 3rd (games update)
- Add
Message.edit_* methods- Filters for the
MessageHandler can now be combined using bitwise operators (& and |)- Add a way to save user- and chat-related data temporarily (check out the new
conversationbot2.py example)- Other bugfixes and improvements
Released v5.3
- Implement API changes of November 21st (Bot API 2.3)
-
-
- New
- Bugfix for
- Other bugfixes
Update with
- Implement API changes of November 21st (Bot API 2.3)
-
JobQueue now supports datetime.timedelta in addition to seconds-
JobQueue now supports running jobs only on certain days- New
Filters.reply filter- Bugfix for
Message.edit_reply_markup- Other bugfixes
Update with
pip install -U python-telegram-botI just released a hotfix version 5.3.1 which resolves https://github.com/python-telegram-bot/python-telegram-bot/issues/579 by enforcing the use of
We are still working on the v6 release.
urllib3 v1.20 instead of v1.21.We are still working on the v6 release.