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
Parse Error: Data did not match any variant of untagged enum TelegramResponse for getStickerSet
#1038
Comments
I think this is a result of a missing teloxide/crates/teloxide-core/src/types/sticker.rs Lines 64 to 67 in fb2865b
|
But Option should have Default trait impl with None as default value? https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=ceaea5c407a5d5eb826aa6b5c3efcf92 |
@Avimitin this is mostly irrelevant. We use |
Bot API 7.2 introduces "Mixed-Format Sticker Packs". This change removes I think it's enough to just remove this line: teloxide/crates/teloxide-core/src/types/sticker_set.rs Lines 22 to 26 in 384811a
|
Is this being worked on? If not I could try to do it |
I don't think anyone is working on this, you may go ahead |
It seems that the maintainers did not pay attention to this issue 🤔 |
When using
get_sticker_set
method I've gotRequestError::InvalidJson
error with the following description:Steps to reproduce
Meta
teloxide
version: 0.12.2Additional context
The text was updated successfully, but these errors were encountered: