Trait teloxide_core::payloads::SetMyCommandsSetters[][src]

pub trait SetMyCommandsSetters: HasPayload<Payload = SetMyCommands> + Sized {
    fn commands<T>(self, value: T) -> Self
    where
        T: IntoIterator<Item = <Vec<BotCommand> as IntoIterator>::Item>
, { ... } }

Setters for fields of SetMyCommands

Provided methods

fn commands<T>(self, value: T) -> Self where
    T: IntoIterator<Item = <Vec<BotCommand> as IntoIterator>::Item>, 
[src]

Setter for commands field.

Loading content...

Implementors

impl<P> SetMyCommandsSetters for P where
    P: HasPayload<Payload = SetMyCommands>, 
[src]

Loading content...