Struct tdlib::types::EmojiReaction
source · pub struct EmojiReaction {
pub emoji: String,
pub title: String,
pub is_active: bool,
pub static_icon: Sticker,
pub appear_animation: Sticker,
pub select_animation: Sticker,
pub activate_animation: Sticker,
pub effect_animation: Sticker,
pub around_animation: Option<Sticker>,
pub center_animation: Option<Sticker>,
}
Expand description
Contains information about a emoji reaction
Fields§
§emoji: String
Text representation of the reaction
title: String
Reaction title
is_active: bool
True, if the reaction can be added to new messages and enabled in chats
static_icon: Sticker
Static icon for the reaction
appear_animation: Sticker
Appear animation for the reaction
select_animation: Sticker
Select animation for the reaction
activate_animation: Sticker
Activate animation for the reaction
effect_animation: Sticker
Effect animation for the reaction
around_animation: Option<Sticker>
Around animation for the reaction; may be null
center_animation: Option<Sticker>
Center animation for the reaction; may be null
Trait Implementations§
source§impl Clone for EmojiReaction
impl Clone for EmojiReaction
source§fn clone(&self) -> EmojiReaction
fn clone(&self) -> EmojiReaction
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 EmojiReaction
impl Debug for EmojiReaction
source§impl<'de> Deserialize<'de> for EmojiReaction
impl<'de> Deserialize<'de> for EmojiReaction
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