-
-
Notifications
You must be signed in to change notification settings - Fork 382
Centralize gson-calls, generics and simplified Keyboard creations #208
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
Comments
Hi Marco! This is a very nice general cleanup! But well, there are many changes, not sure I would like to merge all of them :) New keyboard creations are super convenient, agree! A bit against of using java streams. One small comment - need to apply code formatting, mostly spacing around commas, parameters, colons. If you agree with these comments, please feel free to open pull request! Stas |
#209 Thanks for the quick response! I applied you suggestions (hope I didn't missed any) and put them in a pull request. The request now contains the keyboard changes and the trivial generics fixes. The deprecate constructors are removed, I'm not a fan of arrays so want to inform the users of the new of creating keyboards. The change to the response-handling is also reverted. Only wrote them to resolve a progamming error in my code. Marco |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'm new to telegram and wanted to create a simple bot. Found this project, a nice and clean api. But noticed some improvements to the keyboard creation can be made. Since this is opensource, let's share my poposal.
Create keyboards like:
See my fork: #https://github.com/marcovaneck/java-telegram-bot-api
Best regards,
Marco #
The text was updated successfully, but these errors were encountered: