Struct telegram_bot2::models::SendAnimation
source · pub struct SendAnimation { /* private fields */ }Expand description
Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent Message is returned. Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future.
Trait Implementations§
source§impl Clone for SendAnimation
impl Clone for SendAnimation
source§fn clone(&self) -> SendAnimation
fn clone(&self) -> SendAnimation
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 SendAnimation
impl Debug for SendAnimation
source§impl<'de> Deserialize<'de> for SendAnimation
impl<'de> Deserialize<'de> for SendAnimation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more