Pybotx

Latest version: v0.73.3

Safety actively analyzes 714860 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 17 of 19

0.23.2

Added

* Add `file_name` param to `download_file` method to provide ability to change the returned file name.

0.23.1

Fixed

* Memory leak in bot.tasks collection.

0.23.0

Added

* Add method for uploading files to chat.
* Add method for downloading files from chat.

Changed

* Add `data` and `files` fields to `HTTPRequest` for sending multipart/form-data in request.
* Add `expected_type` field to `HTTPRequest` and `expected_type` property to `BaseBotXMethod`
to allow interacting with non JSON responses.
* Add `should_process_as_error` field to `HTTPRequest` so that errors that are not in
the range of 400 to 599 can be added.
* Add `raw_data` to `HTTPResponse`so that you can process raw content of response.

0.22.1

Added

- Add `embed_mentions` argument in `from_message` method.

Fixed

- Fix `EMBED_MENTION_RE` expression

0.22.0

0.21.3

Fixed

* Bot's method `authorize()` now not fall if cant take some tokens. Just logging and skip invalid credentials.

Page 17 of 19

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.