@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
31 lines (30 loc) • 1.86 kB
TypeScript
/**
* 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.
*/
/**
* Type of the MessageBody. - MESSAGE_TYPE_CAST_ADD: Add a new Cast - MESSAGE_TYPE_CAST_REMOVE: Remove an existing Cast - MESSAGE_TYPE_REACTION_ADD: Add a Reaction to a Cast - MESSAGE_TYPE_REACTION_REMOVE: Remove a Reaction from a Cast - MESSAGE_TYPE_LINK_ADD: Add a new Link - MESSAGE_TYPE_LINK_REMOVE: Remove an existing Link - MESSAGE_TYPE_VERIFICATION_ADD_ETH_ADDRESS: Add a Verification of an Ethereum Address - MESSAGE_TYPE_VERIFICATION_REMOVE: Remove a Verification - MESSAGE_TYPE_USER_DATA_ADD: Add metadata about a user - MESSAGE_TYPE_USERNAME_PROOF: Add or replace a username proof - MESSAGE_TYPE_FRAME_ACTION: A Farcaster Frame action
* @export
* @enum {string}
*/
export declare const MessageType: {
readonly CastAdd: "MESSAGE_TYPE_CAST_ADD";
readonly CastRemove: "MESSAGE_TYPE_CAST_REMOVE";
readonly ReactionAdd: "MESSAGE_TYPE_REACTION_ADD";
readonly ReactionRemove: "MESSAGE_TYPE_REACTION_REMOVE";
readonly LinkAdd: "MESSAGE_TYPE_LINK_ADD";
readonly LinkRemove: "MESSAGE_TYPE_LINK_REMOVE";
readonly VerificationAddEthAddress: "MESSAGE_TYPE_VERIFICATION_ADD_ETH_ADDRESS";
readonly VerificationRemove: "MESSAGE_TYPE_VERIFICATION_REMOVE";
readonly UserDataAdd: "MESSAGE_TYPE_USER_DATA_ADD";
readonly UsernameProof: "MESSAGE_TYPE_USERNAME_PROOF";
readonly FrameAction: "MESSAGE_TYPE_FRAME_ACTION";
};
export type MessageType = typeof MessageType[keyof typeof MessageType];