use crate::Client;
use crate::errors::Result;
use crate::types::PeerRef;
impl Client {
/// Reopens a closed forum topic.
pub async fn reopen_forum_topic(&self, chat_id: impl Into<PeerRef>, topic_id: i32) -> Result<()> {
self.edit_forum_topic(chat_id, topic_id).closed(false).await
}
}