Desiders / telers

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

Set default to `MessageEntity::kind` to avoid errors in new entity types #19

Closed Desiders closed 3 months ago

Desiders commented 3 months ago

Currently, when MessageEntity kind unknown parsing fails. We need to set kind in MessageEntity as an optional to use None when new entity type unsupported.

Related: #18

Desiders commented 3 months ago

We can use #[serde(other)] for this