Pytgbot

Latest version: v5.7

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

Scan your dependencies

Page 9 of 9

2.1.0

- Renamed `pytgbot.api_types.receivable.media.File.download_url(token)` to `get_download_url(token)`
- Added a `pytgbot.bot.Bot.get_download_url(file)` method.

2.0.1

- Renamed `InputFileURL` to `InputFileFromURL`
- Added `InputFileFromDisk`
- `InputFile` is for buffers (strings) now

2.0.0

Big overhaul:

- Real Objects for everything.
- Also most of this module can now be generated from the api website automatically, making updates a breeze.

1.0.1

- Added ability to ignore network errors in `get_updates(...)` without raising a exception by setting `error_as_empty=True`.
Useful in `for update in bot.get_updates(error_as_empty=True)` constructs.

1.0.0

- Added [Inline mode](https://telegram.org/blog/inline-bots) including [inlinefeedback](https://core.telegram.org/bots/inline#collecting-feedback).
This should be [`Bot API 2.0` (April 9, 2016)](https://core.telegram.org/bots/api-changelog#april-9-2016).

0.0.0

- First implementation

Page 9 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.