Desiders / telers

An asynchronous framework for Telegram Bot API written in Rust
https://docs.rs/telers
36 stars 3 forks source link

Set default variant for enum types #21

Open Desiders opened 5 months ago

Desiders commented 5 months ago

Related: #19

We need to use #[serde(other)] and #[serde(untagged)] for enum that used as Telegram types because in new Telegram Bot API versions can be added variants that unsupported in old framework versions.