-
Notifications
You must be signed in to change notification settings - Fork 67
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
iq_res_title should be required (not Maybe) #99
Comments
@fizruk Unfortunatelly there is an optional title in the other constructors, so it's done this way as common denominator |
@fizruk But if you can suggest better option, I would be happy to implement it |
@klappvisor I'm currently experimenting with Telegram Bot API using this library. This was the first thing I noticed. However it is a very minor thing. Recently I noticed that Telegram Bot API simulates sum types:
In any case, I'm still trying things out and I may have more concrete suggestions later :) |
@fizruk Thank you for your feedback! It's actually very relevant, you are right, but it would require major breaking change. I guess it's better to do it anyway, hopefully together with the others I could find, to avoid constantly breaking API. As user, what do you think about current order of the arguments in
Or
That will make it possible to write
Any other suggestions are welcome |
Currently it's like this:
See InlineQueryResultArticle documentation.
The text was updated successfully, but these errors were encountered: