Friends class

Методы для работы с друзьями.

Constructors

Friends.new(Api _api)
Конструктор.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add<T>(Map<String, Object> params) Future<ApiResponse<T>>
Approves or creates a friend request.
addList<T>(Map<String, Object> params) Future<ApiResponse<T>>
Creates a new friend list for the current user.
areFriends<T>(Map<String, Object> params) Future<ApiResponse<T>>
Checks the current user's friendship status with other specified users.
delete<T>(Map<String, Object> params) Future<ApiResponse<T>>
Declines a friend request or deletes a user from the current user's friend list.
deleteAllRequests<T>(Map<String, Object> params) Future<ApiResponse<T>>
Marks all incoming friend requests as viewed.
deleteList<T>(Map<String, Object> params) Future<ApiResponse<T>>
Deletes a friend list of the current user.
edit<T>(Map<String, Object> params) Future<ApiResponse<T>>
Edits the friend lists of the selected user.
editList<T>(Map<String, Object> params) Future<ApiResponse<T>>
Edits a friend list of the current user.
get<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of user IDs or detailed information about a user's friends.
getAppUsers<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of IDs of the current user's friends who installed the application.
getAvailableForCall<T>(Map<String, Object> params) Future<ApiResponse<T>>
Позволяет получить список идентификаторов пользователей, доступных для вызова из приложения.
getByPhones<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of the current user's friends whose phone numbers, validated or specified in a profile, are in a given list.
getLists<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of the user's friend lists.
getMutual<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of user IDs of the mutual friends of two users.
getOnline<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of user IDs of a user's friends who are online.
getRecent<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of user IDs of the current user's recently added friends.
getRequests<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns information about the current user's incoming and outgoing friend requests.
getSuggestions<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of profiles of users whom the current user may know.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
Returns a list of friends matching the search criteria.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited