Skip to content
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 7.5 #2311

Merged
merged 7 commits into from
Jun 20, 2024
Merged

Bot API 7.5 #2311

merged 7 commits into from
Jun 20, 2024

Conversation

coder2020official
Copy link
Collaborator

@coder2020official coder2020official commented Jun 18, 2024

Bot API 7.5

…er and RevenueWithdrawalState, containing information about Telegram Star transactions involving the bot.
…t of all Telegram Star transactions for the bot.
…eText, editMessageMedia, editMessageCaption, editMessageLiveLocation, stopMessageLiveLocation and editMessageReplyMarkup, allowing the bot to edit business messages.
…lowing the bot to stop polls it sent on behalf of a business account.
@coder2020official coder2020official marked this pull request as ready for review June 18, 2024 12:12
@coder2020official
Copy link
Collaborator Author

@Badiboy done, need your review

@Badiboy
Copy link
Collaborator

Badiboy commented Jun 18, 2024

Got it

return None


class RevenueWithdrawalStatePending(RevenueWithdrawalState):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose all these Child classes needs de_json method...
Check BackgroundFill series for equal implementation...

self.type: str = type


class TransactionPartner(JsonDeserializable):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same as for RevenueWithdrawalState - de_json for Childs


def __init__(self, type, user, **kwargs):
self.type: str = type
self.user: User = user
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need do de_json USER somewhere (in de_json of class, I suppose).

@coder2020official
Copy link
Collaborator Author

If I understood you right - I just forgot all de_json methods for classes

@coder2020official
Copy link
Collaborator Author

btw, I'm done just in case you missed @Badiboy

@Badiboy
Copy link
Collaborator

Badiboy commented Jun 20, 2024

LGTM, thank you.

@Badiboy Badiboy merged commit a4669b2 into eternnoir:master Jun 20, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants