UNPKG

@agentdao/core

Version:

Core functionality, skills, and ready-made UI components for AgentDAO - Web3 subscriptions, content generation, social media, help support, live chat, RSS fetching, web search, and agent pricing integration

19 lines (18 loc) 907 B
import { SocialMediaConfig, PostResult, ScheduledPost, DraftPost, CommentResponse, Media } from './types'; export declare class SocialMediaSkill { private config; constructor(config: SocialMediaConfig); postToAll(content: string, media?: Media[]): Promise<PostResult[]>; postToPlatform(platform: string, content: string, media?: Media[]): Promise<PostResult>; schedulePost(platform: string, content: string, scheduledTime: Date): Promise<ScheduledPost>; getDraftPosts(): Promise<DraftPost[]>; saveDraft(content: string, platforms: string[]): Promise<string>; editDraft(draftId: string, changes: any): Promise<DraftPost>; respondToComments(postId: string, responses: CommentResponse[]): Promise<boolean>; private postToTwitter; private postToLinkedIn; private postToFacebook; private postToInstagram; private postComment; private generatePostId; }