UNPKG

@neardefi/shade-agent-js

Version:

This library is intended to be used in conjunction with the [shade agent template](https://github.com/NearDeFi/shade-agent-template/).

20 lines (18 loc) 869 B
/** * Retrieves the conversation ID for a given tweet * @param {Object} client - Twitter API client instance * @param {string} tweetId - ID of the tweet * @returns {Promise<string|null>} Conversation ID or null if not found */ declare function getConversationId(client: any, tweetId: string): Promise<string | null>; /** * Retrieves the most recent tweet in a conversation * @param {Object} client - Twitter API client instance * @param {string} conversationId - ID of the conversation * @returns {Promise<Object|null>} Tweet object or null if not found */ declare function getLatestConversationTweet(client: any, conversationId: string): Promise<any | null>; declare const SearchMode: any; declare const twitter: any; declare function bakeCookies(): Promise<void>; export { SearchMode, bakeCookies, getConversationId, getLatestConversationTweet, twitter };