-
Notifications
You must be signed in to change notification settings - Fork 2k
Release Note
selfus edited this page Jul 14, 2017
·
6 revisions
- Gaming platform new methods.
- Other change in October 3, 2016 update. (https://core.telegram.org/bots/api/#recent-changes)
- Bug Fix #202
- Added new methods: getChat, leaveChat, getChatAdministrators, getChatMember, getChatMembersCount.
- New fields: edited_message in Update, edit_date in Message, user in MessageEntity. New value text_mention for the type field in MessageEntity.
- Bug Fix
- ReplyKeyboardMarkup support string in bot2.0
- Support Telegram Bot 2.0 API's new features.
- Add disable_notification parameter.
- Added setters for message/inline/chosen-inline handlers.
- All Message's attributes default to None. Don't need hasattr to check attribute.
- Inline mode support.
- Add InlineQueryResultArticle, InlineQueryResultPhoto, InlineQueryResultGif, InlineQueryResultMpeg4Gif, InlineQueryResultVideo
- Add new method answer_inline_query
- Add new inline_handler
- Code clean up
- Bugs fix
- Add webhook support.
- Better error handling.
- Add threaded parameter for telebot constructor. Allowing users to decide telebot to use thread for polling method.
- Bug fix : fix race-condition for register_for_reply.
- Add timeout parameter for polling method
- New type File supported.
- New method download_file added.
- Hotfix handler lambda bug.
- send_message add parse_mode parameter support. More information: https://core.telegram.org/bots/api#recent-changes
- Add get_updates method to telebot class. Can use this method to get update object.
- Remove
time.sleep()
from polling method. Use optionalblock
parameter