pub struct AddRecentSticker {
    pub is_attached: bool,
    pub sticker: InputFile,
}Expand description
Manually adds a new sticker to the list of recently used stickers. The new sticker is added to the top of the list. If the sticker was already in the list, it is removed from the list first. Only stickers belonging to a sticker set can be added to this list
Fields§
§is_attached: boolPass true to add the sticker to the list of stickers recently attached to photo or video files; pass false to add the sticker to the list of recently sent stickers
sticker: InputFileSticker file to add
Trait Implementations§
Source§impl Clone for AddRecentSticker
 
impl Clone for AddRecentSticker
Source§fn clone(&self) -> AddRecentSticker
 
fn clone(&self) -> AddRecentSticker
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 AddRecentSticker
 
impl Debug for AddRecentSticker
Source§impl<'de> Deserialize<'de> for AddRecentSticker
 
impl<'de> Deserialize<'de> for AddRecentSticker
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 Method for AddRecentSticker
 
impl Method for AddRecentSticker
Auto Trait Implementations§
impl Freeze for AddRecentSticker
impl RefUnwindSafe for AddRecentSticker
impl Send for AddRecentSticker
impl Sync for AddRecentSticker
impl Unpin for AddRecentSticker
impl UnwindSafe for AddRecentSticker
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