Trait teloxide_core::payloads::AddStickerToSetSetters

source ·
pub trait AddStickerToSetSetters: HasPayload<Payload = AddStickerToSet> + Sized {
    // Provided methods
    fn user_id(self, value: UserId) -> Self { ... }
    fn name<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn sticker(self, value: InputSticker) -> Self { ... }
}
Expand description

Setters for fields of AddStickerToSet

Provided Methods§

source

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

Setter for user_id field.

source

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

Setter for name field.

source

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

Setter for sticker field.

Object Safety§

This trait is not object safe.

Implementors§