pub struct StickerFullTypeCustomEmoji {
pub custom_emoji_id: i64,
pub needs_repainting: bool,
}
Expand description
The sticker is a custom emoji to be used inside message text and caption. Currently, only Telegram Premium users can use custom emoji
Fields§
§custom_emoji_id: i64
Identifier of the custom emoji
needs_repainting: bool
True, if the sticker must be repainted to a text color in messages, the color of the Telegram Premium badge in emoji status, white color on chat photos, or another appropriate color in other places
Trait Implementations§
Source§impl Clone for StickerFullTypeCustomEmoji
impl Clone for StickerFullTypeCustomEmoji
Source§fn clone(&self) -> StickerFullTypeCustomEmoji
fn clone(&self) -> StickerFullTypeCustomEmoji
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 StickerFullTypeCustomEmoji
impl Debug for StickerFullTypeCustomEmoji
Source§impl Default for StickerFullTypeCustomEmoji
impl Default for StickerFullTypeCustomEmoji
Source§fn default() -> StickerFullTypeCustomEmoji
fn default() -> StickerFullTypeCustomEmoji
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StickerFullTypeCustomEmoji
impl<'de> Deserialize<'de> for StickerFullTypeCustomEmoji
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
impl StructuralPartialEq for StickerFullTypeCustomEmoji
Auto Trait Implementations§
impl Freeze for StickerFullTypeCustomEmoji
impl RefUnwindSafe for StickerFullTypeCustomEmoji
impl Send for StickerFullTypeCustomEmoji
impl Sync for StickerFullTypeCustomEmoji
impl Unpin for StickerFullTypeCustomEmoji
impl UnwindSafe for StickerFullTypeCustomEmoji
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