[][src]Function egg_mode::list::add_member

pub async fn add_member<'id, '_, T: Into<UserID>>(
    list: ListID,
    user: T,
    token: &'_ Token
) -> Result<Response<List>>

Adds the given user to the given list.

Note that lists cannot have more than 5000 members.

Upon success, the future returned by this function yields the freshly-modified list.