-
Notifications
You must be signed in to change notification settings - Fork 6
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
Unresolved references in Telegram Bot API 7.2 update #20
Comments
Looks like this is caused by absence of description for these objects... |
Yes! We have already discussed this with the author. Would you like to do a PR?) |
Any suggestions on fix? |
I'm not familiar with Rust much, so I didn't do it myself. The author suggests leaving an empty string in the absence of a description Unfortunately, the documentation is poorly done( I tried to write in @bottalk chats / bot support, but I got no result... |
I don't think I have time now to do a proper PR but for a dirty fix you can go to src/extractor.rs, line 66 and prepend else if select_any.peek().matches(&table) {
State::GetObjectFields {
name: elem,
description: RawDescription::default(),
}
} before the 'else' block. |
It looks like issue was fixed after they added descriptions to entities like |
can confirm, it has been fixed since then. the issue might be closed |
It might reoccur in the future, it's better to implement such case handling... |
…ect description)
The new Telegram Bot API 7.2 objects do not exist in the schema, but other objects reference them
The text was updated successfully, but these errors were encountered: