APIリファレンス(JavaScript)

baasatrakuza > NewsQuery

NewsQuery class

お知らせのQueryです。

Signature:

export declare class NewsQuery extends QueryBase<NewsQuery> 

Extends: QueryBase<NewsQuery>

Constructors

ConstructorModifiersDescription
(constructor)(context, systemClient, userAccessToken)Constructs a new instance of the NewsQuery class

Methods

MethodModifiersDescription
all()公開状態にかかわらず、すべてのお知らせを検索して返します。
alreadyRead()既読のお知らせのみ取得する条件を設定します。
released()公開されているお知らせを検索して返します。
segmentMatchOnly()セグメント配信条件に一致するお知らせのみ取得します。
unread()未読のお知らせのみ取得する条件を設定します。
withFavorite()お気に入り情報(News.is_favoriteNews.favorite_date)を検索結果に含めます。
withFavoriteSummary()お気に入り集計情報(News.favorite_count)を検索結果に含めます。