@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
31 lines (30 loc) • 1.2 kB
TypeScript
/**
* Neynar API
* The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
*
* The version of the OpenAPI document: 3.175.0
* Contact: team@neynar.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { SendFrameNotificationsReqBodyFiltersNearLocation } from './send-frame-notifications-req-body-filters-near-location';
/**
* Filters to apply to the target_fids set. All filters are additive, so only users matching all filters will be notified.
*/
export interface SendFrameNotificationsReqBodyFilters {
/**
* Only send notifications to users who are not in the given FIDs.
*/
'exclude_fids'?: Array<number>;
/**
* Only send notifications to users who follow the given FID.
*/
'following_fid'?: number;
/**
* Only send notifications to users with a score greater than or equal to this value.
*/
'minimum_user_score'?: number;
'near_location'?: SendFrameNotificationsReqBodyFiltersNearLocation;
}