Skip to content

Commit

Permalink
Fix spoiler usage in ExternalReplyInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Desiders committed Feb 28, 2024
1 parent d40a31c commit 45f62f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telers/src/types/external_reply_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ pub struct Story {
pub message_id: Option<i64>,
/// Message is a forwarded story
pub story: types::Story,
/// `true`, if the message media is covered by a spoiler animation
pub has_media_spoiler: Option<bool>,
}

#[derive(Debug, Clone, PartialEq, Deserialize)]
Expand All @@ -156,6 +154,8 @@ pub struct Video {
pub entities: Option<Box<[MessageEntity]>>,
/// Message is a video, information about the video
pub video: types::Video,
/// `true`, if the message media is covered by a spoiler animation
pub has_media_spoiler: Option<bool>,
}

#[derive(Debug, Clone, PartialEq, Deserialize)]
Expand Down

0 comments on commit 45f62f0

Please sign in to comment.