Struct tbot::methods::CreateNewStickerSet
source · pub struct CreateNewStickerSet<'a> { /* private fields */ }
Expand description
Creates a new sticker set.
Reflects the createNewStickerSet
method.
Implementations§
source§impl<'a> CreateNewStickerSet<'a>
impl<'a> CreateNewStickerSet<'a>
sourcepub const fn contains_masks(self, contains_masks: bool) -> Self
pub const fn contains_masks(self, contains_masks: bool) -> Self
Configures if the sticker set is going to contain masks.
Reflects the contains_masks
parameter.
sourcepub const fn mask_position(self, mask_position: MaskPosition) -> Self
pub const fn mask_position(self, mask_position: MaskPosition) -> Self
Configures the mask position of the first sticker.
Reflects the mask_position
parameter.
source§impl CreateNewStickerSet<'_>
impl CreateNewStickerSet<'_>
sourcepub async fn call(self) -> Result<(), MethodCall>
pub async fn call(self) -> Result<(), MethodCall>
Calls the method.
Trait Implementations§
source§impl<'a> Clone for CreateNewStickerSet<'a>
impl<'a> Clone for CreateNewStickerSet<'a>
source§fn clone(&self) -> CreateNewStickerSet<'a>
fn clone(&self) -> CreateNewStickerSet<'a>
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 more