Struct telegram_bot2::models::CloseForumTopic
source · pub struct CloseForumTopic { /* private fields */ }Expand description
Use this method to close an open 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, unless it is the creator of the topic. Returns True on success.
Trait Implementations§
source§impl Clone for CloseForumTopic
impl Clone for CloseForumTopic
source§fn clone(&self) -> CloseForumTopic
fn clone(&self) -> CloseForumTopic
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 CloseForumTopic
impl Debug for CloseForumTopic
source§impl<'de> Deserialize<'de> for CloseForumTopic
impl<'de> Deserialize<'de> for CloseForumTopic
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