Struct telegram_bot2::models::SendDocument
source · pub struct SendDocument { /* private fields */ }Expand description
Use this method to send general files. On success, the sent Message is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.
Trait Implementations§
source§impl Clone for SendDocument
impl Clone for SendDocument
source§fn clone(&self) -> SendDocument
fn clone(&self) -> SendDocument
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 SendDocument
impl Debug for SendDocument
source§impl<'de> Deserialize<'de> for SendDocument
impl<'de> Deserialize<'de> for SendDocument
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