pub trait SetMyCommandsSetters: HasPayload<Payload = SetMyCommands> + Sized {
    fn commands<T>(self, value: T) -> Self
    where
        T: IntoIterator<Item = <Vec<BotCommand, Global> as IntoIterator>::Item>
, { ... } fn scope(self, value: BotCommandScope) -> Self { ... } fn language_code<T>(self, value: T) -> Self
    where
        T: Into<String>
, { ... } }
Expand description

Setters for fields of SetMyCommands

Provided Methods§

Setter for commands field.

Setter for scope field.

Setter for language_code field.

Implementors§