Pytgbot

Latest version: v5.7

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

Scan your dependencies

Page 8 of 9

2.2.1a2

- Manually added placeholder class `pytgbot.api_types.receiveable.updates.`[`CallbackGame`](https://core.telegram.org/bots/api#callbackgame)

2.2.1a1

- Fixed using wrong templates

2.2.0

- Moving `InputFile`, `InputFileFromDisk`, `InputFileFromURL` to `api_types.sendable.files.*` [4](https://github.com/luckydonald/pytgbot/issues/4)
- Implemented the changes from [`Bot API 2.2` (October 3, 2016)](https://core.telegram.org/bots/api-changelog#october-3-2016) ([gaming](https://core.telegram.org/bots/api#games) platform)
- Improved templates, separated some stuff in the `Bot.do(...)` function for better subclassing. This will hopefully allow a subclass capable of returning infos, from an open webhook, later.

2.1.4

- Reworked `InputFile`, `InputFileFromDisk`, `InputFileFromURL` internals.
They now should handle input better. [3](https://github.com/luckydonald/pytgbot/issues/3), [`luckydonald/bonbot` #131](https://github.com/luckydonald/bonbot/issues/131)

2.1.2

- Fix: Also catching `TgApiException`s if `get_updates(..., error_as_empty=True)`

2.1.1

- Renamed `get_updates(...)`'s `timeout` parameter to `poll_timeout`.
- Added `request_timeout` to `do(...)` method. Currently only `get_updates(...)` has that.

Page 8 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.