Struct telegram_bot2::models::GetChatMenuButton
source · pub struct GetChatMenuButton { /* private fields */ }Expand description
Use this method to get the current value of the bot's menu button in a private chat, or the default menu button. Returns MenuButton on success.
Trait Implementations§
source§impl Clone for GetChatMenuButton
impl Clone for GetChatMenuButton
source§fn clone(&self) -> GetChatMenuButton
fn clone(&self) -> GetChatMenuButton
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GetChatMenuButton
impl Debug for GetChatMenuButton
source§impl<'de> Deserialize<'de> for GetChatMenuButton
impl<'de> Deserialize<'de> for GetChatMenuButton
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more