pub async fn delete_thread_subscription(&self, thread: ThreadId) -> crate::Result<()> {
        let url = self.crab.absolute_url(format!(
            "notifications/threads/{}/subscription",
            thread
        ))?;

        let response = self.crab._delete(url, None::<&()>).await?;
        crate::map_github_error(response).await.map(drop)
    }
/// Mutes the whole thread conversation until you comment or get mentioned.
/// ```no_run
/// # async fn run() -> octocrab::Result<()> {
/// octocrab::instance()
///     .activity()
///     .notifications()
///     .delete_thread_subscription(123u64.into())
///     .await?;
/// # Ok(())
/// # }
/// ```
Mutes the whole thread conversation until you comment or get mentioned.
Mutes the whole thread conversation until you comment or get mentioned .
pub async fn delete_thread_subscription(&self, thread: ThreadId) -> crate::Result<()> {
        let url = self.crab.absolute_url(format!(
            "notifications/threads/{}/subscription",
            thread
        ))?;
        let response = self.crab._delete(url, None::<&()>).await?;
        crate::map_github_error(response).await.map(drop)
    }
pub async fn delete_thread_subscription ( & self , thread : ThreadId ) -> crate :: Result < ( ) > { let url = self . crab . absolute_url ( format ! ( " " thread ) ) ? ; let response = self . crab . _delete ( url , None :: < & ( ) > ) . await ? ; crate :: map_github_error ( response ) . await . map ( drop ) }
Mutes the whole thread conversation until you comment or get mentioned.
Mutes the whole thread conversation until you comment or get mentioned .
&self
thread
ThreadId
&self
thread
ThreadId
async fn run() -> octocrab::result<()> {
:instance()
.activity()
.notifications()
.delete_thread_subscription(123u64.into())
.await?.
: instance () . activity () . notifications () . delete_thread_subscription ( 123u64 . into () ) . await? .
ok(())
None
}
None