harshil21 · GitHub

tests/test_user.py Extends User test coverage for can_manage_bots. tests/test_update.py Adds managed_bot update test cases (effective_* coverage updated). tests/test_preparedkeyboardbutton.py New tests for PreparedKeyboardButton. tests/test_message.py Adds managed_bot_created message payload coverage. tests/test_managedbot.py New tests for ManagedBotCreated/ManagedBotUpdated. tests/test_keyboardbuttonrequestmanagedbot.py New tests for KeyboardButtonRequestManagedBot. tests/test_keyboardbutton.py Extends KeyboardButton tests for request_managed_bot. tests/test_bot.py Adds request-parameter assertions for new bot methods. tests/ext/test_managedbotupdatedhandler.py New tests for ManagedBotUpdatedHandler. tests/ext/test_filters.py Adds filter test coverage for MANAGED_BOT_CREATED. tests/auxil/dummy_objects.py Adds dummy object entry for PreparedKeyboardButton. tests/_files/test_photo.py Broadens accepted thumb.file_size values. src/telegram/ext/filters.py Adds StatusUpdate.MANAGED_BOT_CREATED and includes it in StatusUpdate.ALL. src/telegram/ext/_handlers/managedbotupdatedhandler.py Implements new ManagedBotUpdatedHandler. src/telegram/ext/_extbot.py Adds ExtBot wrappers for managed-bot methods and save_prepared_keyboard_button. src/telegram/ext/init.py Exposes ManagedBotUpdatedHandler in telegram.ext. src/telegram/constants.py Adds MessageType.MANAGED_BOT_CREATED and UpdateType.MANAGED_BOT. src/telegram/_user.py Adds User.can_manage_bots. src/telegram/_update.py Adds Update.managed_bot parsing and effective_user support. src/telegram/_preparedkeyboardbutton.py New PreparedKeyboardButton TelegramObject. src/telegram/_message.py Adds Message.managed_bot_created parsing. src/telegram/_managedbot.py New ManagedBotCreated and ManagedBotUpdated TelegramObjects. src/telegram/_keyboardbuttonrequestmanagedbot.py New KeyboardButtonRequestManagedBot TelegramObject. src/telegram/_keyboardbutton.py Adds KeyboardButton.request_managed_bot parsing/storage. src/telegram/_bot.py Adds core bot methods for managed-bot tokens and saving prepared keyboard buttons. src/telegram/init.py Exposes new objects from the top-level telegram package. docs/source/telegram.preparedkeyboardbutton.rst Adds API docs page for PreparedKeyboardButton. docs/source/telegram.managedbotupdated.rst Adds API docs page for ManagedBotUpdated. docs/source/telegram.managedbotcreated.rst Adds API docs page for ManagedBotCreated. docs/source/telegram.keyboardbuttonrequestmanagedbot.rst Adds API docs page for KeyboardButtonRequestManagedBot. docs/source/telegram.ext.managedbotupdatedhandler.rst Adds API docs page for ManagedBotUpdatedHandler. docs/source/telegram.ext.handlers-tree.rst Registers the new handler docs page in the handlers tree. docs/source/telegram.at-tree.rst Registers new types docs pages in the available-types tree. docs/source/inclusions/bot_methods.rst Updates bot methods listing for new API methods.

Read the original on github.com ↗