Updates an existing friend list.

This method requires the following permissions: friends.

Parameters

list_id
integer (positive)

The identifier of the friend list to be updated.

name
string

A new name for the list. If not specified, the name of the list will not be updated.

user_ids
string

A comma-separated list of user identifiers to completely replace the existing ones in this list.

add_user_ids
string

A comma-separated list of user identifiers to be added to this list. Only applies if user_ids was not specified.

delete_user_ids
string

A comma-separated list of user identifiers to be removed from this list. Only applies if user_ids was not specified.

Result

Returns true on success.

Errors

Global errors may occur when calling this method.