-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bot API 8.2 full support #2440
Bot API 8.2 full support #2440
Conversation
@Badiboy done with the bot api, you can start reviewing |
telebot/apihelper.py
Outdated
@@ -2271,12 +2301,6 @@ def convert_input_media_array(array): | |||
if media_dict['media'].startswith('attach://'): | |||
key = media_dict['media'].replace('attach://', '') | |||
files[key] = input_media.media |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason for removing this code?
telebot/async_telebot.py
Outdated
:return: Returns True on success. | ||
:rtype: :obj:`bool` | ||
""" | ||
return await asyncio_helper.verify_user(self.token, user_id, custom_description) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be it's time to start sending optional parameters as named?
telebot/asyncio_helper.py
Outdated
@@ -2243,12 +2269,6 @@ async def convert_input_media_array(array): | |||
if media_dict['media'].startswith('attach://'): | |||
key = media_dict['media'].replace('attach://', '') | |||
files[key] = input_media.media |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same here: what is the reason for removing this code?
telebot/version.py
Outdated
@@ -1,3 +1,3 @@ | |||
# Versions should comply with PEP440. | |||
# This line is parsed in setup.py: | |||
__version__ = '4.25.0' | |||
__version__ = '4.24.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version downgraded.
Looks like you made PR not from the recent version... |
@Badiboy sorry for that, it did not somehow show up on the changelog for me. |
Thank you! Release? |
Yes |
January 1, 2025
Bot API 8.2