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 an 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 duplicate 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
Source§impl PartialEq for EmojiReaction
impl PartialEq for EmojiReaction
Source§impl Serialize for EmojiReaction
impl Serialize for EmojiReaction
impl StructuralPartialEq for EmojiReaction
Auto Trait Implementations§
impl Freeze for EmojiReaction
impl RefUnwindSafe for EmojiReaction
impl Send for EmojiReaction
impl Sync for EmojiReaction
impl Unpin for EmojiReaction
impl UnwindSafe for EmojiReaction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more