You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If someone sends my bot a sticker, my bot crashes with this error: data did not match any variant of untagged enum StickerType. I tried to debug this error and took a look at the raw client polling update json and it looked like this:
. I really don't know where this error comes from, but it's possible to "fix" this bug, by adding an Unknown(String) variant to the enum. Do you have an idea where this error comes from?
The text was updated successfully, but these errors were encountered:
If someone sends my bot a sticker, my bot crashes with this error:
data did not match any variant of untagged enum StickerType
. I tried to debug this error and took a look at the raw client polling update json and it looked like this:so the
type
of the sticker isregular
. And then I took a look to yourStickerType
and saw that the variantregular
is covered:telexide/src/model/stickers.rs
Line 127 in 3b6af18
Unknown(String)
variant to the enum. Do you have an idea where this error comes from?The text was updated successfully, but these errors were encountered: