diff --git a/src/objects.rs b/src/objects.rs index beb360a..68a115e 100644 --- a/src/objects.rs +++ b/src/objects.rs @@ -1014,7 +1014,9 @@ pub struct ExternalReplyInfo { #[builder(setter(into, strip_option), default)] pub chain: Option, - pub message_id: i32, + #[serde(skip_serializing_if = "Option::is_none")] + #[builder(setter(into, strip_option), default)] + pub message_id: Option, #[serde(skip_serializing_if = "Option::is_none")] #[builder(setter(into, strip_option), default)]