diff --git a/src/types/input_media.rs b/src/types/input_media.rs index 00effaea..4727b6db 100644 --- a/src/types/input_media.rs +++ b/src/types/input_media.rs @@ -22,6 +22,7 @@ pub enum InputMedia { /// [The official docs](https://core.telegram.org/bots/api#inputmediaphoto). #[serde_with_macros::skip_serializing_none] #[derive(Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)] +#[non_exhaustive] pub struct InputMediaPhoto { /// File to send. pub media: InputFile,