Struct tbot::methods::AddStickerToSet
source · pub struct AddStickerToSet<'a> { /* private fields */ }
Expand description
Adds a new sticker to an existing sticker set.
Reflects the addStickerToSet
method.
Implementations§
source§impl<'a> AddStickerToSet<'a>
impl<'a> AddStickerToSet<'a>
sourcepub const fn mask_position(self, mask_position: MaskPosition) -> Self
pub const fn mask_position(self, mask_position: MaskPosition) -> Self
Sets the mask’s position. Reflects the mask_position
parameter.
source§impl AddStickerToSet<'_>
impl AddStickerToSet<'_>
sourcepub async fn call(self) -> Result<(), MethodCall>
pub async fn call(self) -> Result<(), MethodCall>
Calls the method.
Trait Implementations§
source§impl<'a> Clone for AddStickerToSet<'a>
impl<'a> Clone for AddStickerToSet<'a>
source§fn clone(&self) -> AddStickerToSet<'a>
fn clone(&self) -> AddStickerToSet<'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