Function egg_mode::list::list [−][src]
pub async fn list<'id, T: Into<UserID>>(
user: T,
owned_first: bool,
token: &Token
) -> Result<Response<Vec<List>>>
Expand description
Return up to 100 lists the given user is subscribed to, including those the user made themselves.
This function can be used to get a snapshot of a user’s lists, but if they’ve created or
subscribed to a lot of lists, then the limitations of this function can get in the way.
If the owned_first
parameter is true
, Twitter will load the lists the given user created,
then the ones they’ve subscribed to, stopping when it reaches 100 lists. If it’s false
, then
the lists are loaded in the opposite order.
If the user has more than 100 lists total like this, you’ll need to call ownerships
and
subscriptions
separately to be able to properly load everything.