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

    Tool for sending text messages via Telegram

    SendMessageTool

    Implements

    Index

    Constructors

    Properties

    category: "communications" = 'communications'
    description: "Send a text message to a Telegram chat, channel, or user. Supports Markdown and HTML formatting." = 'Send a text message to a Telegram chat, channel, or user. Supports Markdown and HTML formatting.'
    displayName: "Send Telegram Message" = 'Send Telegram Message'
    hasSideEffects: true
    id: "telegramSendMessage" = 'telegramSendMessage'
    inputSchema: {
        properties: {
            buttons: {
                description: string;
                items: {
                    items: {
                        properties: {
                            callbackData: { type: string };
                            text: { type: string };
                            url: { type: string };
                        };
                        type: string;
                    };
                    type: string;
                };
                type: string;
            };
            chatId: { description: string; type: string[] };
            disableNotification: {
                default: boolean;
                description: string;
                type: string;
            };
            parseMode: { description: string; enum: string[]; type: string };
            replyToMessageId: { description: string; type: string };
            text: { description: string; type: string };
        };
        required: string[];
        type: string;
    } = ...
    name: "telegramSendMessage" = 'telegramSendMessage'
    outputSchema: {
        properties: {
            chatId: { type: string[] };
            date: { type: string };
            error: { type: string };
            messageId: { type: string };
            success: { type: string };
        };
        type: string;
    } = ...
    requiredCapabilities: string[] = ...
    version: "1.0.0" = '1.0.0'

    Methods

    • Executes the send message operation

      Parameters

      • args: any

        Input arguments

      • context: ToolExecutionContext

        Execution context

      Returns Promise<ToolExecutionResult>

      Execution result