pub trait SetChatMenuButtonSetters: HasPayload<Payload = SetChatMenuButton> + Sized {
    // Provided methods
    fn chat_id<T>(self, value: T) -> Self
       where T: Into<ChatId> { ... }
    fn menu_button(self, value: MenuButton) -> Self { ... }
}
Expand description

Setters for fields of SetChatMenuButton

Provided Methods§

source

fn chat_id<T>(self, value: T) -> Self
where T: Into<ChatId>,

Setter for chat_id field.

source

fn menu_button(self, value: MenuButton) -> Self

Setter for menu_button field.

Object Safety§

This trait is not object safe.

Implementors§