AgentOS Extensions API - v1.0.3
    Preparing search index...

    Tool for sending documents via Telegram

    SendDocumentTool

    Implements

    Index

    Constructors

    Properties

    category: "communication" = 'communication'
    description: "Send a document file to a Telegram chat. Supports various file types including PDFs, archives, and office documents." = 'Send a document file to a Telegram chat. Supports various file types including PDFs, archives, and office documents.'
    displayName: "Send Telegram Document" = 'Send Telegram Document'
    hasSideEffects: true
    id: "telegramSendDocument" = 'telegramSendDocument'
    inputSchema: {
        properties: {
            caption: { description: string; type: string };
            chatId: { description: string; type: string[] };
            document: { description: string; type: string };
            filename: { description: string; type: string };
            parseMode: { description: string; enum: string[]; type: string };
            replyToMessageId: { description: string; type: string };
        };
        required: string[];
        type: string;
    } = ...
    name: "telegramSendDocument" = 'telegramSendDocument'
    version: "1.0.0" = '1.0.0'

    Methods

    • Parameters

      • args: {
            caption?: string;
            chatId: string | number;
            document: string;
            filename?: string;
            parseMode?: "Markdown" | "HTML";
            replyToMessageId?: number;
        }
      • context: ToolExecutionContext

      Returns Promise<ToolExecutionResult>