twitter-api-v2
Version:
Strongly typed, full-featured, light, versatile yet powerful Twitter API v1.1 and v2 client for Node.js.
29 lines (28 loc) • 713 B
TypeScript
import { DataV2 } from './shared.v2.types';
export interface ListCreateV2Params {
name: string;
description?: string;
private?: boolean;
}
export declare type ListCreateV2Result = DataV2<{
id: string;
name: string;
}>;
export declare type ListUpdateV2Params = Omit<ListCreateV2Params, 'name'> & {
name?: string;
};
export declare type ListUpdateV2Result = DataV2<{
updated: true;
}>;
export declare type ListDeleteV2Result = DataV2<{
deleted: true;
}>;
export declare type ListMemberV2Result = DataV2<{
is_member: boolean;
}>;
export declare type ListFollowV2Result = DataV2<{
following: boolean;
}>;
export declare type ListPinV2Result = DataV2<{
pinned: boolean;
}>;