Function egg_mode::tweet::lookup[][src]

pub async fn lookup<I: IntoIterator<Item = u64>>(
    ids: I,
    token: &Token
) -> Result<Response<Vec<Tweet>>>
Expand description

Lookup tweet information for the given list of tweet IDs.

This function differs from lookup_map in how it handles protected or nonexistent tweets. lookup gives a Vec of just the tweets it could load, leaving out any that it couldn’t find.