pub struct CreateNewStickerSet { /* private fields */ }Expand description
Builder for the createNewStickerSet method.
Implementations§
Source§impl CreateNewStickerSet
impl CreateNewStickerSet
Sourcepub fn sticker_type(self, k: StickerType) -> Self
pub fn sticker_type(self, k: StickerType) -> Self
Sets the sticker set type (Regular, Mask, or CustomEmoji).
Sourcepub fn needs_repainting(self, v: bool) -> Self
pub fn needs_repainting(self, v: bool) -> Self
Enables colour replacement for custom emoji stickers when true.
Trait Implementations§
Source§impl IntoFuture for CreateNewStickerSet
impl IntoFuture for CreateNewStickerSet
Source§type IntoFuture = Pin<Box<dyn Future<Output = <CreateNewStickerSet as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <CreateNewStickerSet 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 CreateNewStickerSet
impl !UnwindSafe for CreateNewStickerSet
impl Freeze for CreateNewStickerSet
impl Send for CreateNewStickerSet
impl Sync for CreateNewStickerSet
impl Unpin for CreateNewStickerSet
impl UnsafeUnpin for CreateNewStickerSet
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