mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-08 19:33:53 +01:00
Mark InputMediaPhoto ads #[non_exhaustive]
This commit is contained in:
parent
9e547766ad
commit
dbfd51c0fc
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue