Struct tgbot::types::SetCustomEmojiStickerSetThumbnail
source · pub struct SetCustomEmojiStickerSetThumbnail { /* private fields */ }
Expand description
Sets the thumbnail of a custom emoji sticker set.
Implementations§
source§impl SetCustomEmojiStickerSetThumbnail
impl SetCustomEmojiStickerSetThumbnail
sourcepub fn with_custom_emoji_id<T>(self, value: T) -> Self
pub fn with_custom_emoji_id<T>(self, value: T) -> Self
Sets a new custom emoji ID.
§Arguments
value
- Custom emoji identifier of a sticker from the sticker set.
Pass an empty string to drop the thumbnail and use the first sticker as the thumbnail.
Trait Implementations§
source§impl Clone for SetCustomEmojiStickerSetThumbnail
impl Clone for SetCustomEmojiStickerSetThumbnail
source§fn clone(&self) -> SetCustomEmojiStickerSetThumbnail
fn clone(&self) -> SetCustomEmojiStickerSetThumbnail
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 moreAuto Trait Implementations§
impl Freeze for SetCustomEmojiStickerSetThumbnail
impl RefUnwindSafe for SetCustomEmojiStickerSetThumbnail
impl Send for SetCustomEmojiStickerSetThumbnail
impl Sync for SetCustomEmojiStickerSetThumbnail
impl Unpin for SetCustomEmojiStickerSetThumbnail
impl UnwindSafe for SetCustomEmojiStickerSetThumbnail
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