teleborg icon indicating copy to clipboard operation
teleborg copied to clipboard

Stops responding when gets new_chat_photo

Open tiberiusferreira opened this issue 7 years ago • 1 comments

Hi, thanks for this great crate! I ran into a problem today: Since a new_chat_photo is declared as String and it actually contains something like:

{
                        "file_id": "AgADAQADe64xG8KcEgV7mYwXR-N_AZAe9y8ABGB9_4t6NQlsVgoBAAEC",
                        "file_size": 10027,
                        "width": 160,
                        "height": 160
}

Serde returns an error and keeps getting the same update and returning an error.

Is the String declaration a bug or a placeholder?

tiberiusferreira avatar Nov 14 '17 21:11 tiberiusferreira

I'm sorry for this! It's a placeholder. The crate is far from finished and it's still under construction. As of now I have little time and I still have many ideas for Teleborg. I still need to find the time to implement these things and to rework the crate a bit.

voider1 avatar Nov 14 '17 22:11 voider1