@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
32 lines (31 loc) • 932 B
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 { ChannelMemberRole } from './channel-member-role';
/**
* Adds context on the viewer\'s or author\'s role in the channel.
* @export
* @interface ChannelUserContext
*/
export interface ChannelUserContext {
/**
* Indicates if the user is following the channel.
* @type {boolean}
* @memberof ChannelUserContext
*/
'following': boolean;
/**
*
* @type {ChannelMemberRole}
* @memberof ChannelUserContext
*/
'role'?: ChannelMemberRole;
}