getCurrentUserFriends

fun getCurrentUserFriends(    afterUrl: String?,     type: UserFriendsRequestType,     sortBy: UserFriendsRequestSortBy,     sortOrder: UserFriendsRequestSortOrder,     callback: GetCurrentUserFriendsCallback,     @IntRange(from = 1, to = 50) limit: Int = 20)

Returns user friends data.

Parameters

afterUrl

Parameter that is used for API pagination.

limit

Maximum number of friends that can be received at a time.

type

Friends type.

sortBy

Condition for sorting users (by name/by update).

sortOrder

Condition for sorting users (ascending/descending).

callback

Callback with friends' relationships and pagination params.

Sources

Link copied to clipboard