Struct teloxide::types::MediaVideo
source · pub struct MediaVideo {
pub video: Video,
pub caption: Option<String>,
pub caption_entities: Vec<MessageEntity, Global>,
pub has_media_spoiler: bool,
pub media_group_id: Option<String>,
}
Fields§
§video: Video
Message is a video, information about the video.
Caption for the video, 0-1024 characters.
For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption.
has_media_spoiler: bool
true
, if the message media is covered by a spoiler animation.
media_group_id: Option<String>
The unique identifier of a media message group this message belongs to.
Trait Implementations§
source§impl Clone for MediaVideo
impl Clone for MediaVideo
source§fn clone(&self) -> MediaVideo
fn clone(&self) -> MediaVideo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MediaVideo
impl Debug for MediaVideo
source§impl<'de> Deserialize<'de> for MediaVideo
impl<'de> Deserialize<'de> for MediaVideo
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<MediaVideo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<MediaVideo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<MediaVideo> for MediaVideo
impl PartialEq<MediaVideo> for MediaVideo
source§fn eq(&self, other: &MediaVideo) -> bool
fn eq(&self, other: &MediaVideo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MediaVideo
impl Serialize for MediaVideo
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more