pub trait GetMyCommandsSetters: HasPayload<Payload = GetMyCommands> + Sized {
    // Provided methods
    fn scope(self, value: BotCommandScope) -> Self { ... }
    fn language_code<T>(self, value: T) -> Self
       where T: Into<String> { ... }
}
Expand description

Setters for fields of GetMyCommands

Provided Methods§

source

fn scope(self, value: BotCommandScope) -> Self

Setter for scope field.

source

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

Setter for language_code field.

Implementors§

source§

impl<P> GetMyCommandsSetters for Pwhere P: HasPayload<Payload = GetMyCommands>,