跳到正文
所有工具

telegram_connect

Telegram · macOS · Windows

效果: 发送. 状态: 受限可用.

“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。

macOS

用途

将你自己的 Telegram 账户关联到这台 Mac 上的 LMCP。会显示二维码(在此处以及 Mac 上的窗口中):在手机上打开 Telegram → 设置 → 设备 → 关联桌面设备,然后扫描。Mac 窗口还提供手机号登录,如果你设置了两步验证密码,会要求输入。如果该账户已连接,会直接说明。若要关联另一个 Telegram 账户,请传入 add_account: true(可同时提供标签);`account` 用于重新关联已有账户(参见 telegram_list_accounts)。

必填输入

此平台的架构未声明必填输入,但仍可能存在可选选择器或运行时要求。

权限与确认

架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。

英文规范技术架构 — 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"
    },
    "add_account": {
      "description": "true to link an additional Telegram account (a new QR).",
      "type": "boolean"
    },
    "label": {
      "description": "With add_account: the name for the new account (1-40 characters). Default \"Telegram <n>\".",
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

telegram_connect 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "label": "Demo account"
}

Windows

用途

将你自己的 Telegram 账户关联到这台电脑上的 LMCP。会显示二维码:在手机上打开 Telegram → 设置 → 设备 → 关联桌面设备,然后扫描。如果你的账户设置了两步验证密码,或者你更希望使用手机号登录,请使用这台电脑上的 LMCP 托盘图标 → Telegram。如果该账户已连接,会直接说明。若要关联另一个 Telegram 账户,请传入 add_account: true(可同时提供标签);`account` 用于重新关联已有账户(参见 telegram_list_accounts)。

必填输入

此平台的架构未声明必填输入,但仍可能存在可选选择器或运行时要求。

权限与确认

架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。

英文规范技术架构 — Windows
{
  "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"
    },
    "add_account": {
      "description": "true to link an additional Telegram account (a new QR).",
      "type": "boolean"
    },
    "label": {
      "description": "With add_account: the name for the new account (1-40 characters). Default \"Telegram <n>\".",
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

telegram_connect 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "label": "Demo account"
}