@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
50 lines (49 loc) • 1.28 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.34.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 { FrameButtonActionType } from './frame-button-action-type';
/**
*
* @export
* @interface FrameActionButton
*/
export interface FrameActionButton {
/**
* Title of the button
* @type {string}
* @memberof FrameActionButton
*/
'title'?: string;
/**
* Index of the button
* @type {number}
* @memberof FrameActionButton
*/
'index': number;
/**
*
* @type {FrameButtonActionType}
* @memberof FrameActionButton
*/
'action_type': FrameButtonActionType;
/**
* Target of the button
* @type {string}
* @memberof FrameActionButton
*/
'target'?: string;
/**
* Used specifically for the tx action type to post a successful transaction hash
* @type {string}
* @memberof FrameActionButton
*/
'post_url'?: string;
}