Sets a photo as the album cover.

This method requires the following permissions: photos.

Parameters

photo_id
string

Identifier of the photo.

album_id
string

Identifier of the album.

Result

Returns true on success.

Errors

Global errors may occur when calling this method.