Stories class
Методы для работы с историями.
Constructors
- Stories.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
-
banOwner<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Allows to hide stories from chosen sources from current user's feed.
-
delete<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Allows to delete story.
-
get<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns stories available for current user.
-
getBanned<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns list of sources hidden from current user's feed.
-
getById<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns story by its ID.
-
getDetailedStats<
T> (Map< String, Object> params) → Future<ApiResponse< T> > -
getPhotoUploadServer<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns URL for uploading a story with photo.
-
getReplies<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns replies to the story.
-
getStats<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns stories available for current user.
-
getVideoUploadServer<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Allows to receive URL for uploading story with video.
-
getViewers<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns a list of story viewers.
-
hideAllReplies<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Hides all replies in the last 24 hours from the user to current user's stories.
-
hideReply<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Hides the reply to the current user's story.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Метод сохраняет историю в профиле после её успешной загрузки на сервер.
-
search<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Возвращает результаты поиска по историям.
-
sendInteraction<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Отправляет фидбек на историю.
-
toString(
) → String -
A string representation of this object.
inherited
-
unbanOwner<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Allows to show stories from hidden sources in current user's feed.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited