İçeriğe geç
Tüm araçlar

telegram_watch_messages

Telegram · macOS · Windows

Etki: okuma. Durum: koşullu kullanılabilir.

“Koşullu kullanılabilirlik”, aracın sürüme, platforma, izinlere, hesaba veya yapılandırmaya bağlı olabileceğini belirtir. Her kurulumda etkin olduğu anlamına gelmez.

macOS

Amaç

Local MCP'den, seçilen Telegram sohbetlerine yeni iletiler geldiğinde bu oturuma haber vermesini ister; böylece telegram_read_messages'ı sürekli çağırmanız gerekmez. set için `account` ve `chats` gerekir. Local MCP her 300 saniyede bir denetler (teslim biçimi "poll"), bu yüzden bir bildirim iletiden yaklaşık 5 dakika sonra gelebilir. Her bildirim, bu oturuma platform, account, chat, count, max_id ve event_id içeren bir notifications/claude/channel iletisidir, asla metni içermez: sohbeti telegram_read_messages ile okuyun. Bir bildirim tekrarlanabilir: daha önce gördüğünüz bir event_id'yi yok sayın. İzleme şimdi başlar; yetişmek için sohbetleri bir kez okuyun. Bu oturumla birlikte sona erer. Yalnızca bu bildirimleri göstermek üzere sertifikalı yapay zekâ istemci sürümleri bunu ayarlayabilir; diğerleri "unsupported" teslim yanıtı alır ve hiçbir şey kurulmaz.

Zorunlu girdiler

Girdi adları aracın istediği biçimde aynen korunur. İngilizce kanonik teknik tanımlar aşağıdaki açılır şemadadır.

İzinler ve onay

Şema açık bir onay parametresi bildirmez. Bu, izinsiz işlem yapma yetkisi vermez; etkiyi inceleyin ve yetki alın.

İngilizce kanonik teknik şema — macOS
{
  "properties": {
    "account": {
      "description": "Which linked Telegram account to use: its label or id from telegram_list_accounts. Leave it out to use the default account.",
      "type": "string"
    },
    "action": {
      "description": "set: watch these chats for this session; clear: stop; status: what is watched and when it was last checked.",
      "enum": [
        "set",
        "clear",
        "status"
      ],
      "type": "string"
    },
    "chats": {
      "description": "For set: 1 to 20 chat ids from telegram_list_chats of that account (user:… or, with include_groups, chat:…).",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "minItems": 1,
      "type": "array"
    },
    "include_groups": {
      "description": "Allow basic groups (chat:…). Channels are not supported.",
      "type": "boolean"
    }
  },
  "required": [
    "action"
  ],
  "type": "object"
}

Belge örneği

telegram_watch_messages için örnek belge. Bu örneği çalıştırmayın. Gösterilen bağımsız değişkenler kurgusal bir veri kümesine aittir; gerçek bir çağrıdan önce gerçek tanıtıcıları bulun ve izin alın.

{
  "account": "Demo Telegram",
  "action": "set",
  "chats": [
    "user:5550100123"
  ]
}

Windows

Amaç

Local MCP'den, seçilen Telegram sohbetlerine yeni iletiler geldiğinde bu oturuma haber vermesini ister; böylece telegram_read_messages'ı sürekli çağırmanız gerekmez. set için `account` ve `chats` gerekir. Local MCP her 300 saniyede bir denetler (teslim biçimi "poll"), bu yüzden bir bildirim iletiden yaklaşık 5 dakika sonra gelebilir. Her bildirim, bu oturuma platform, account, chat, count, max_id ve event_id içeren bir notifications/claude/channel iletisidir, asla metni içermez: sohbeti telegram_read_messages ile okuyun. Bir bildirim tekrarlanabilir: daha önce gördüğünüz bir event_id'yi yok sayın. İzleme şimdi başlar; yetişmek için sohbetleri bir kez okuyun. Bu oturumla birlikte sona erer. Yalnızca bu bildirimleri göstermek üzere sertifikalı yapay zekâ istemci sürümleri bunu ayarlayabilir; diğerleri "unsupported" teslim yanıtı alır ve hiçbir şey kurulmaz.

Zorunlu girdiler

Girdi adları aracın istediği biçimde aynen korunur. İngilizce kanonik teknik tanımlar aşağıdaki açılır şemadadır.

İzinler ve onay

Şema açık bir onay parametresi bildirmez. Bu, izinsiz işlem yapma yetkisi vermez; etkiyi inceleyin ve yetki alın.

İngilizce kanonik teknik şema — Windows
{
  "properties": {
    "account": {
      "description": "For set: which linked Telegram account to watch, its label or id from telegram_list_accounts. Required: never the default.",
      "type": "string"
    },
    "action": {
      "description": "set: watch these chats for this session; clear: stop; status: what is watched and when it was last checked.",
      "enum": [
        "set",
        "clear",
        "status"
      ],
      "type": "string"
    },
    "chats": {
      "description": "For set: 1 to 20 chat ids from telegram_list_chats of that account (user:… or, with include_groups, chat:…).",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "minItems": 1,
      "type": "array"
    },
    "include_groups": {
      "description": "Allow basic groups (chat:…). Channels are not supported.",
      "type": "boolean"
    }
  },
  "required": [
    "action"
  ],
  "type": "object"
}

Belge örneği

telegram_watch_messages için örnek belge. Bu örneği çalıştırmayın. Gösterilen bağımsız değişkenler kurgusal bir veri kümesine aittir; gerçek bir çağrıdan önce gerçek tanıtıcıları bulun ve izin alın.

{
  "account": "Demo Telegram",
  "action": "set",
  "chats": [
    "user:5550100123"
  ]
}