Function egg_mode::tweet::delete

source ·
pub async fn delete(id: u64, token: &Token) -> Result<Response<Tweet>>
Expand description

Delete the given tweet. The authenticated user must be the user who posted the given tweet.

On success, the future returned by this function yields the given tweet.