-
Notifications
You must be signed in to change notification settings - Fork 1.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
[SendPhoto]: 400 Bad request (chat_id not found) #1321
Comments
I have made a pull request regarding to this issue: #1302 |
🎂👏💋 |
Thanks for your attention. From which version those changes will be available? |
I don't know, owner of this repo should accept #1302 in order for changes to apply. |
I'll check it now that the new version is fully out. Need to consider this change carefully since this was intentionally done as it is now (since the proposed solution is only partial support for the Bots API. hence, would require some extra documentation/Javadocs to ensure it is clear for everything. Also, the proposed MR doesn't include any kind of UT that proves it works as it is expected |
Describe the bug
org.telegram.telegrambots.meta.api.methods.send.SendPhoto class fields are not annotated with @JsonProperty annotation, that is why always telegram bot api returns 400 Bad request with content of "chat_id" not found!
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: