pypi python-telegram-bot 10.0.0
v10.0.0

latest releases: 21.1.1, 21.1, 21.0.1...
6 years ago

2018-03-02
Released 10.0.0

Non backward compatabile changes and changed defaults

  • JobQueue: Remove deprecated prevent_autostart & put() (PR #1012)
  • Bot, Updater: Remove deprecated network_delay (PR #1012)
  • Remove deprecated Message.new_chat_member (PR #1012)
  • Retry bootstrap phase indefinitely (by default) on network errors (PR #1018)

New Features

  • Support v3.6 API (PR #1006)
  • User.full_name convinience property (PR #949)
  • Add send_phone_number_to_provider and send_email_to_provider arguments to send_invoice (PR #986)
  • Bot: Add shortcut methods reply_{markdown,html} (PR #827)
  • Bot: Add shortcut method reply_media_group (PR #994)
  • Added utils.helpers.effective_message_type (PR #826)
  • Bot.get_file now allows passing a file in addition to file_id (PR #963)
  • Add .get_file() to Audio, Document, PhotoSize, Sticker, Video, VideoNote and Voice (PR #963)
  • Add .send_*() methods to User and Chat (PR #963)
  • Get jobs by name (PR #1011)
  • Add Message caption html/markdown methods (PR #1013)
  • File.download_as_bytearray - new method to get a d/led file as bytearray (PR #1019)
  • File.download(): Now returns a meaningful return value (PR #1019)
  • Added conversation timeout in ConversationHandler (PR #895)

Changes

  • Store bot in PreCheckoutQuery (PR #953)
  • Updater: Issue INFO log upon received signal (PR #951)
  • JobQueue: Thread safety fixes (PR #977)
  • WebhookHandler: Fix exception thrown during error handling (PR #985)
  • Explicitly check update.effective_chat in ConversationHandler.check_update (PR #959)
  • Updater: Better handling of timeouts during get_updates (PR #1007)
  • Remove unnecessary to_dict() (PR #834)
  • CommandHandler - ignore strings in entities and "/" followed by whitespace (PR #1020)
  • Documentation & style fixes (PR #942, PR #956, PR #962, PR #980, PR #983)

Don't miss a new python-telegram-bot release

NewReleases is sending notifications on new releases.