-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Bot API 7.5 #2311
Conversation
…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.
@Badiboy done, need your review |
Got it |
return None | ||
|
||
|
||
class RevenueWithdrawalStatePending(RevenueWithdrawalState): |
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.
I suppose all these Child classes needs de_json method...
Check BackgroundFill series for equal implementation...
self.type: str = type | ||
|
||
|
||
class TransactionPartner(JsonDeserializable): |
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 as for RevenueWithdrawalState - de_json for Childs
|
||
def __init__(self, type, user, **kwargs): | ||
self.type: str = type | ||
self.user: User = user |
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.
We need do de_json USER somewhere (in de_json of class, I suppose).
If I understood you right - I just forgot all de_json methods for classes |
btw, I'm done just in case you missed @Badiboy |
LGTM, thank you. |
Bot API 7.5