Struct tdlib::types::AnimatedEmoji
source · pub struct AnimatedEmoji {
pub sticker: Option<Sticker>,
pub sticker_width: i32,
pub sticker_height: i32,
pub fitzpatrick_type: i32,
pub sound: Option<File>,
}
Expand description
Describes an animated or custom representation of an emoji
Fields§
§sticker: Option<Sticker>
Sticker for the emoji; may be null if yet unknown for a custom emoji. If the sticker is a custom emoji, it can have arbitrary format different from stickerFormatTgs
sticker_width: i32
Expected width of the sticker, which can be used if the sticker is null
sticker_height: i32
Expected height of the sticker, which can be used if the sticker is null
fitzpatrick_type: i32
Emoji modifier fitzpatrick type; 0-6; 0 if none
sound: Option<File>
File containing the sound to be played when the sticker is clicked; may be null. The sound is encoded with the Opus codec, and stored inside an OGG container
Trait Implementations§
source§impl Clone for AnimatedEmoji
impl Clone for AnimatedEmoji
source§fn clone(&self) -> AnimatedEmoji
fn clone(&self) -> AnimatedEmoji
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 AnimatedEmoji
impl Debug for AnimatedEmoji
source§impl<'de> Deserialize<'de> for AnimatedEmoji
impl<'de> Deserialize<'de> for AnimatedEmoji
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