Newsfeed class

Методы для работы с новостной лентой пользователя.

Constructors

Newsfeed.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

addBan<T>(Map<String, Object> params) Future<ApiResponse<T>>
Prevents news from specified users and communities from appearing in the current user's newsfeed.
deleteBan<T>(Map<String, Object> params) Future<ApiResponse<T>>
Allows news from previously banned users and communities to be shown in the current user's newsfeed.
deleteList<T>(Map<String, Object> params) Future<ApiResponse<T>>
Метод позволяет удалить пользовательский список новостей.
get<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns data required to show newsfeed for the current user.
getBanned<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of users and communities banned from the current user's newsfeed.
getComments<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of comments in the current user's newsfeed.
getLists<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of newsfeeds followed by the current user.
getMentions<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of posts on user walls in which the current user is mentioned.
getRecommended<T>(Map<String, Object> params) Future<ApiResponse<T>>
, Returns a list of newsfeeds recommended to the current user.
getSuggestedSources<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns communities and users that current user is suggested to follow.
ignoreItem<T>(Map<String, Object> params) Future<ApiResponse<T>>
Hides an item from the newsfeed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveList<T>(Map<String, Object> params) Future<ApiResponse<T>>
Creates and edits user newsfeed lists
Returns search results by statuses.
toString() String
A string representation of this object.
inherited
unignoreItem<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a hidden item to the newsfeed.
unsubscribe<T>(Map<String, Object> params) Future<ApiResponse<T>>
Unsubscribes the current user from specified newsfeeds.

Operators

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