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

    Tool for getting Telegram chat information

    GetChatInfoTool

    Implements

    Index

    Constructors

    Properties

    category: "communication" = 'communication'
    description: "Retrieve information about a Telegram chat including type, title, member count, and settings." = 'Retrieve information about a Telegram chat including type, title, member count, and settings.'
    displayName: "Get Telegram Chat Info" = 'Get Telegram Chat Info'
    hasSideEffects: false
    id: "telegramGetChatInfo" = 'telegramGetChatInfo'
    inputSchema: {
        properties: {
            chatId: { description: string; type: string[] };
            includeMemberCount: {
                default: boolean;
                description: string;
                type: string;
            };
        };
        required: string[];
        type: string;
    } = ...
    name: "telegramGetChatInfo" = 'telegramGetChatInfo'
    outputSchema: {
        properties: {
            firstName: { description: string; type: string };
            id: { description: string; type: string[] };
            lastName: { description: string; type: string };
            memberCount: { description: string; type: string };
            title: { description: string; type: string };
            type: { description: string; enum: string[]; type: string };
            username: { description: string; type: string };
        };
        type: string;
    } = ...
    version: "1.0.0" = '1.0.0'

    Methods

    • Parameters

      • args: { chatId: string | number; includeMemberCount?: boolean }
      • context: ToolExecutionContext

      Returns Promise<ToolExecutionResult>