UNPKG

@neynar/nodejs-sdk

Version:

SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)

45 lines (44 loc) 1.59 kB
/** * Farcaster Hub API * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Neynar docs](https://docs.neynar.com/reference) for more details. * * The version of the OpenAPI document: 2.35.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 { FarcasterNetwork } from './farcaster-network'; import type { MessageType } from './message-type'; /** * Common properties shared by all Farcaster message types. These properties provide essential metadata about the message\'s origin, timing, and network context. * @export * @interface MessageDataCommon */ export interface MessageDataCommon { /** * * @type {MessageType} * @memberof MessageDataCommon */ 'type'?: MessageType; /** * The unique identifier (FID) of the user who created this message. FIDs are assigned sequentially when users register on the network and cannot be changed. * @type {number} * @memberof MessageDataCommon */ 'fid': number; /** * Seconds since Farcaster Epoch (2021-01-01T00:00:00Z). Used to order messages chronologically and determine the most recent state. Must be within 10 minutes of the current time when the message is created. * @type {number} * @memberof MessageDataCommon */ 'timestamp': number; /** * * @type {FarcasterNetwork} * @memberof MessageDataCommon */ 'network': FarcasterNetwork; }