blob: 643456983ed40fabecda04f083e11f9cb65cf3c5 (
plain) (
tree)
|
|
use crate::error::BlossomError;
use mastodon_async::entities::status::Status;
use mastodon_async::prelude::*;
pub async fn get_recents(client: &Mastodon) -> Result<Vec<Status>, BlossomError> {
Ok(client
.statuses(&AccountId::new("cel"), Default::default())
.await?
.initial_items)
}
|