Struct rtdlib::types::InputThumbnail [−][src]
pub struct InputThumbnail { /* fields omitted */ }
Expand description
A thumbnail to be sent along with a file; should be in JPEG or WEBP format for stickers, and less than 200 kB in size
Implementations
Trait Implementations
Performs the conversion.
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for InputThumbnail
impl Send for InputThumbnail
impl Sync for InputThumbnail
impl Unpin for InputThumbnail
impl UnwindSafe for InputThumbnail
Blanket Implementations
Mutably borrows from an owned value. Read more