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

    Tool for sending photos via Telegram

    SendPhotoTool

    Implements

    Index

    Constructors

    Properties

    category: "communication" = 'communication'
    description: "Send a photo to a Telegram chat. Supports URLs, file paths, and base64 encoded images with optional captions." = 'Send a photo to a Telegram chat. Supports URLs, file paths, and base64 encoded images with optional captions.'
    displayName: "Send Telegram Photo" = 'Send Telegram Photo'
    hasSideEffects: true
    id: "telegramSendPhoto" = 'telegramSendPhoto'
    inputSchema: {
        properties: {
            caption: { description: string; type: string };
            chatId: { description: string; type: string[] };
            parseMode: { description: string; enum: string[]; type: string };
            photo: { description: string; type: string };
            replyToMessageId: { description: string; type: string };
        };
        required: string[];
        type: string;
    } = ...
    name: "telegramSendPhoto" = 'telegramSendPhoto'
    version: "1.0.0" = '1.0.0'

    Methods

    • Parameters

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

      Returns Promise<ToolExecutionResult>