Trait teloxide_core::payloads::GetMyCommandsSetters

source ·
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) -> Self
where T: Into<String>,

Setter for language_code field.

Object Safety§

This trait is not object safe.

Implementors§

source§

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