get_user_profile_photos

template<class Agent>
api_result<user_profile_photos_t, Agent&&> get_user_profile_photos(Agent &&agent, get_user_profile_photos_args_t args)
template<class Agent, class F>
void get_user_profile_photos(Agent &&agent, get_user_profile_photos_args_t args, F &&callback)

agent is any object satisfying agent concept.

callback is any callable object accepting expected<user_profile_photos_t>.

Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.

struct get_user_profile_photos_args_t

Arguments that should be passed to get_user_profile_photos().

integer_t user_id

Unique identifier of the target user

optional_t<integer_t> offset

Sequential number of the first photo to be returned. By default, all photos are returned.

optional_t<integer_t> limit

Limits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100.