Skip to content

Commit

Permalink
fix ExternalReplyInfo decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrat555 committed Apr 26, 2024
1 parent f3b6f90 commit 892280a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/objects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,9 @@ pub struct ExternalReplyInfo {
#[builder(setter(into, strip_option), default)]
pub chain: Option<Chat>,

pub message_id: i32,
#[serde(skip_serializing_if = "Option::is_none")]
#[builder(setter(into, strip_option), default)]
pub message_id: Option<i32>,

#[serde(skip_serializing_if = "Option::is_none")]
#[builder(setter(into, strip_option), default)]
Expand Down

0 comments on commit 892280a

Please sign in to comment.