pl-api
    Preparing search index...

    Interface GetNotificationParams

    interface GetNotificationParams {
        account_id?: string;
        exclude_types?: string[];
        exclude_visibilities?: string[];
        include_filtered?: boolean;
        limit?: number;
        max_id?: string;
        min_id?: string;
        since_id?: string;
        types?: string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    account_id?: string

    Return only notifications received from the specified account.

    exclude_types?: string[]

    Types to exclude from the results.

    exclude_visibilities?: string[]

    will exclude the notifications for activities with the given visibilities. The parameter accepts an array of visibility types (public, unlisted, private, direct). Requires features['notificationsExcludeVisibilities'].

    include_filtered?: boolean

    Whether to include notifications filtered by the user’s NotificationPolicy. Defaults to false. Requires features.['notificationsPolicy'].

    limit?: number

    Integer. Maximum number of results to return.

    max_id?: string

    String. All results returned will be lesser than this ID. In effect, sets an upper bound on results.

    min_id?: string

    String. Returns results immediately newer than this ID. In effect, sets a cursor at this ID and paginates forward.

    since_id?: string

    String. All results returned will be greater than this ID. In effect, sets a lower bound on results.

    types?: string[]

    Types to include in the result.