telegram_connect
Telegram · macOS · Windows
效果: 发送. 状态: 受限可用.
“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。
macOS
用途
将你自己的 Telegram 账户关联到这台 Mac 上的 LMCP。会显示一个二维码(在此处以及 Mac 上的窗口中):在手机上打开 Telegram → Settings → Devices → Link Desktop Device 并扫描它。Mac 窗口也提供手机号登录,如果你设有两步验证密码,还会要求输入。如果该账户已连接,则会说明这一点。要关联另一个 Telegram 账户,请传入 add_account: true(可附带标签);`account` 用于重新关联现有账户(参见 telegram_list_accounts)。
必填输入
此平台的架构未声明必填输入,但仍可能存在可选选择器或运行时要求。
权限与确认
架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。
- 仅使用用户在此平台上授权的应用、账户和资源。请查阅此工具针对平台的说明,以了解其连接和权限要求;本目录不声称需要额外的 OAuth 范围或操作系统授权。
英文规范技术架构 — 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"
},
"confirm": {
"description": "Ignored; kept for older clients.",
"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 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。
{
"confirm": false,
"label": "Demo account"
}Windows
用途
将你自己的 Telegram 账户关联到这台电脑上的 LMCP。会显示一个二维码:在手机上打开 Telegram → Settings → Devices → Link Desktop Device 并扫描它。如果你的账户设有两步验证密码,或者你更愿意用手机号登录,请使用 LMCP 的图标 → My apps → Connect,在 Telegram 所在行(若没有该行:LMCP 的图标 → My apps → Add apps…)。如果该账户已连接,则会说明这一点。要关联另一个 Telegram 账户,请传入 add_account: true(可附带标签);`account` 用于重新关联现有账户(参见 telegram_list_accounts)。
必填输入
此平台的架构未声明必填输入,但仍可能存在可选选择器或运行时要求。
权限与确认
架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。
- 仅使用用户在此平台上授权的应用、账户和资源。请查阅此工具针对平台的说明,以了解其连接和权限要求;本目录不声称需要额外的 OAuth 范围或操作系统授权。
英文规范技术架构 — 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"
},
"confirm": {
"description": "Ignored; kept for older clients.",
"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 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。
{
"confirm": false,
"label": "Demo account"
}