-
-
Notifications
You must be signed in to change notification settings - Fork 379
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 v8.0 #408
base: master
Are you sure you want to change the base?
Bot API v8.0 #408
Conversation
…ds to SuccessfulPayment
…otlin Data Classes
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.
Apologies for the delay.
This delegated property approach won't work good for Java users as it breaks method chaining.
So we need to write additional fun
for every property like in CreateInvoiceLink
.
Wouldn't be simpler to just use one line functions?
fun providerToken(providerToken: String) = add("provider_token", providerToken)
You're right, chaining in Java is broken 🤔 |
This pull request implements the Bot API 8.0 update