Struct telegram_bot2::models::HideGeneralForumTopic
source · pub struct HideGeneralForumTopic { /* private fields */ }Expand description
Use this method to hide the ‘General’ topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically closed if it was open. Returns True on success.
Trait Implementations§
source§impl Clone for HideGeneralForumTopic
impl Clone for HideGeneralForumTopic
source§fn clone(&self) -> HideGeneralForumTopic
fn clone(&self) -> HideGeneralForumTopic
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 HideGeneralForumTopic
impl Debug for HideGeneralForumTopic
source§impl<'de> Deserialize<'de> for HideGeneralForumTopic
impl<'de> Deserialize<'de> for HideGeneralForumTopic
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