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

pub async fn add_member_list<'id, '_, T, I>(
    members: I,
    list: ListID,
    token: &'_ Token
) -> Result<Response<List>> where
    T: Into<UserID>,
    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.