mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
add #[serde_with_macros::skip_serializing_none] annotation to the impl_payload output
This commit is contained in:
parent
5ddbd50b37
commit
106c49fa46
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ macro_rules! impl_payload {
|
|||
)?
|
||||
}
|
||||
) => {
|
||||
#[serde_with_macros::skip_serializing_none]
|
||||
$(
|
||||
#[ $($method_meta)* ]
|
||||
)*
|
||||
|
|
Loading…
Add table
Reference in a new issue