B4t-python-telegram-bot

Latest version: v2.0.0

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

Scan your dependencies

Page 1 of 2

1.3.0

- new parameter for poll(): one_time polls for only one time if set to true
- messages can be sent silently (no notification sound, notification will still pop up)
- restrict chat members with restrictChatMember. Needs chat id, user id and instance of ChatPermissions
- added reply-data to Message-class (bot-replying is in development)
- sending audio, video and documents now works (shame on me, how could I miss that?)
- add support for MarkdownV2-formatting

1.2.2

- revoked "better" kicking from groups and channels (how ironic)

1.2.1

- might have removed to many .json()s -.-

1.2.0

- newlines and spaces are removed from bot_token
- if passed bot-token is not accepted by the Telegram API the script raises a ValueError
- new method: getChatMember() gets chat member of group by chat_id and user_id (returns instance of ChatMember)
- correct editing of text messages (edit text and inline-keyboard)
- better kicking from groups and channels
- requests.post()s and -get()s now return original instance of requests.response() instead of a dict
- some potential bugfixing

1.1.2

- new, second return value for poll(): formatted value & response of requests.get()

1.1.1

- fix for pypi

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.