pub trait CreateNewStickerSetSetters: HasPayload<Payload = CreateNewStickerSet> + Sized {
    // Provided methods
    fn user_id(self, value: UserId) -> Self { ... }
    fn name<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn title<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn sticker(self, value: InputSticker) -> Self { ... }
    fn emojis<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn sticker_type(self, value: StickerType) -> Self { ... }
    fn mask_position(self, value: MaskPosition) -> Self { ... }
}
Expand description

Setters for fields of CreateNewStickerSet

Provided Methods§

source

fn user_id(self, value: UserId) -> Self

Setter for user_id field.

source

fn name<T>(self, value: T) -> Selfwhere T: Into<String>,

Setter for name field.

source

fn title<T>(self, value: T) -> Selfwhere T: Into<String>,

Setter for title field.

source

fn sticker(self, value: InputSticker) -> Self

Setter for sticker field.

source

fn emojis<T>(self, value: T) -> Selfwhere T: Into<String>,

Setter for emojis field.

source

fn sticker_type(self, value: StickerType) -> Self

Setter for sticker_type field.

source

fn mask_position(self, value: MaskPosition) -> Self

Setter for mask_position field.

Implementors§