Enum rtdlib::types::InputSticker
source · [−]pub enum InputSticker {
Animated(InputStickerAnimated),
Static(InputStickerStatic),
// some variants omitted
}
Expand description
Describes a sticker that needs to be added to a sticker set
Variants
Animated(InputStickerAnimated)
An animated sticker in TGS format
Static(InputStickerStatic)
A static sticker in PNG format, which will be converted to WEBP server-side
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<InputSticker, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<InputSticker, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for InputSticker
impl Send for InputSticker
impl Sync for InputSticker
impl Unpin for InputSticker
impl UnwindSafe for InputSticker
Blanket Implementations
Mutably borrows from an owned value. Read more