@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
55 lines (54 loc) • 1.78 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 { ChannelExternalLink } from './channel-external-link';
import type { ChannelUserContext } from './channel-user-context';
import type { TextRange } from './text-range';
import type { User } from './user';
import type { UserDehydrated } from './user-dehydrated';
export interface Channel {
'created_at': string;
'description'?: string;
'description_mentioned_profiles'?: Array<UserDehydrated>;
/**
* Positions within the text (inclusive start, exclusive end) where each mention occurs.
*/
'description_mentioned_profiles_ranges'?: Array<TextRange>;
'external_link'?: ChannelExternalLink;
/**
* Number of followers the channel has.
*/
'follower_count'?: number;
/**
* @deprecated
*/
'hosts'?: Array<User>;
'id': string;
'image_url'?: string;
'lead'?: User;
'member_count'?: number;
/**
* Use `lead` instead.
* @deprecated
*/
'moderator'?: User;
'moderator_fids'?: Array<number>;
'name'?: string;
'object': ChannelObjectEnum;
'parent_url'?: string;
'pinned_cast_hash'?: string;
'url': string;
'viewer_context'?: ChannelUserContext;
}
export declare const ChannelObjectEnum: {
readonly Channel: "channel";
};
export type ChannelObjectEnum = typeof ChannelObjectEnum[keyof typeof ChannelObjectEnum];