pub struct CloseForumTopic { /* private fields */ }Expand description
Closes 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.
Implementations§
Trait Implementations§
Source§impl Clone for CloseForumTopic
impl Clone for CloseForumTopic
Source§fn clone(&self) -> CloseForumTopic
fn clone(&self) -> CloseForumTopic
Returns a duplicate 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 Method for CloseForumTopic
impl Method for CloseForumTopic
Auto Trait Implementations§
impl Freeze for CloseForumTopic
impl RefUnwindSafe for CloseForumTopic
impl Send for CloseForumTopic
impl Sync for CloseForumTopic
impl Unpin for CloseForumTopic
impl UnwindSafe for CloseForumTopic
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more