pub struct SetCustomEmojiStickerSetThumbnail { /* private fields */ }Expand description
Builder for the setCustomEmojiStickerSetThumbnail method.
Sets the thumbnail of a custom emoji sticker set.
Omit custom_emoji_id or pass an empty string to drop the current thumbnail
and use the first sticker instead.
Implementations§
Source§impl SetCustomEmojiStickerSetThumbnail
impl SetCustomEmojiStickerSetThumbnail
Sourcepub fn custom_emoji_id(self, id: impl Into<String>) -> Self
pub fn custom_emoji_id(self, id: impl Into<String>) -> Self
Sets the custom emoji identifier to use as the thumbnail. Pass an empty string to remove the current thumbnail.
Trait Implementations§
Source§impl IntoFuture for SetCustomEmojiStickerSetThumbnail
impl IntoFuture for SetCustomEmojiStickerSetThumbnail
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SetCustomEmojiStickerSetThumbnail as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SetCustomEmojiStickerSetThumbnail as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for SetCustomEmojiStickerSetThumbnail
impl !UnwindSafe for SetCustomEmojiStickerSetThumbnail
impl Freeze for SetCustomEmojiStickerSetThumbnail
impl Send for SetCustomEmojiStickerSetThumbnail
impl Sync for SetCustomEmojiStickerSetThumbnail
impl Unpin for SetCustomEmojiStickerSetThumbnail
impl UnsafeUnpin 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