Function egg_mode::list::add_member_list [] [src]

pub fn add_member_list<'a, 'id, T, I>(
    members: I,
    list: ListID,
    token: &Token,
    handle: &'a Handle
) -> FutureResponse<'a, List> where
    T: Into<UserID<'id>>,
    I: IntoIterator<Item = T>, 

Adds a set of users to the given list.

The members param can be used the same way as the accts param in user::lookup. See that method's documentation for details.

Note that you cannot add more than 100 members to a list at a time, and that lists in general cannot have more than 5000 members.

When using this method, take care not to add and remove many members in rapid succession; there are no guarantees that the result of a add_member_list or remove_member_list will be immediately available for a corresponding removal or addition, respectively.