@mxlabs/okxnotify
Version:
OKX notification package with Feishu, Cloudflare Workers, and Gemini AI agent integration - Complete bundle
49 lines (48 loc) • 1.28 kB
TypeScript
/**
* 批量获取 Twitter 用户信息
* @param kolList Twitter 用户名列表
* @returns 用户推文列表
*/
export declare const batchGetTwitterInfo: (kolList: string[], params?: {
lastHours?: number;
}) => Promise<{
text: string;
name: string;
createdAt: string;
tweetId: string;
}[]>;
/**
* 批量获取推特关键词信息
* @param keywordList 关键词列表
* @returns 推文列表
*/
export declare const batchfetchSearchByKeywordList: (keywordList: string[]) => Promise<{
text: string;
name: string;
createdAt: string;
tweetId: string;
}[]>;
/**
* 批量获取推特社区信息
* @param keywordList 关键词列表
* @returns 推文列表
*/
export declare const batchfetchSearchCommunitiesTop: (keywordList: string[]) => Promise<{
text: string;
name: string;
createdAt: string;
tweetId: string;
}[]>;
/**
* 获取推特 KOL 信息
* @param _env 环境变量
* @param params 参数
* @param params.lastHours 之前多少时间内的数据,过去多少时间内的数据,小时为单位,默认 24 小时
* @returns 推特 KOL 信息
*/
export declare const fetchTwitterKOLInfo: (_env: Env, params?: {
lastHours?: number;
}) => Promise<{
text: string;
summaryText: string;
}>;