Remove unnecessary code

This commit is contained in:
Андрей Власов 2022-01-02 18:35:14 +03:00
parent db8175e9f9
commit 19bcd8a6ba

View file

@ -363,7 +363,7 @@ pub struct MediaDocument {
/// For messages with a caption, special entities like usernames, URLs,
/// bot commands, etc. that appear in the caption.
#[serde(default = "Vec::new")]
#[serde(default)]
pub caption_entities: Vec<MessageEntity>,
/// The unique identifier of a media message group this message belongs