Mark InputMediaAnimation as #[non_exhaustive]

This commit is contained in:
Temirkhan Myrzamadi 2020-07-27 22:02:34 +06:00
parent 683d2d69eb
commit 0b895a19ee

View file

@ -110,6 +110,7 @@ pub struct InputMediaVideo {
/// [The official docs](https://core.telegram.org/bots/api#inputmediaanimation).
#[serde_with_macros::skip_serializing_none]
#[derive(Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct InputMediaAnimation {
/// File to send.
pub media: InputFile,