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

    Tool for sending text messages via Telegram

    SendMessageTool

    Implements

    Index

    Constructors

    Properties

    category: "communication" = 'communication'
    description: "Send a text message to a Telegram chat or user. Supports Markdown and HTML formatting, reply to messages, and custom keyboards." = 'Send a text message to a Telegram chat or user. Supports Markdown and HTML formatting, reply to messages, and custom keyboards.'
    displayName: "Send Telegram Message" = 'Send Telegram Message'
    hasSideEffects: true
    id: "telegramSendMessage" = 'telegramSendMessage'
    inputSchema: {
        properties: {
            chatId: { description: string; type: string[] };
            disableNotification: { description: string; type: string };
            parseMode: { description: string; enum: string[]; type: string };
            replyMarkup: { description: string; type: string };
            replyToMessageId: { description: string; type: string };
            text: { description: string; type: string };
        };
        required: string[];
        type: string;
    } = ...
    name: "telegramSendMessage" = 'telegramSendMessage'
    outputSchema: {
        properties: {
            chatId: { description: string; type: string[] };
            date: { description: string; type: string };
            messageId: { description: string; type: string };
            text: { description: string; type: string };
        };
        type: string;
    } = ...
    version: "1.0.0" = '1.0.0'

    Methods

    • Executes the message sending

      Parameters

      • args: {
            chatId: string | number;
            disableNotification?: boolean;
            parseMode?: "Markdown" | "HTML";
            replyMarkup?: any;
            replyToMessageId?: number;
            text: string;
        }
      • context: ToolExecutionContext

      Returns Promise<ToolExecutionResult>