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§
Setter for menu_button
field.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.