debot fetch 和 debot start 有什么区别?

What is the difference between debot fetch and debot start?

我在命令行中有几个不同的选项:获取和启动。它们有什么区别?

这里 https://github.com/tonlabs/tonos-cli/pull/162 免费 TON 人说 “添加 debot 启动命令作为获取命令的同义词。”

但是这里 https://github.com/tonlabs/TON-SDK/blob/master/docs/mod_debot.md#start

start - 启动 DeBot。

从区块链下载 debot 智能合约并将其切换到上下文零。

Debot Browser 必须使用此功能来启动与 debot 的对话。当函数正在执行时,可以调用多个浏览器回调,因为 debot 会尝试向用户显示上下文 0 中的所有操作。

当debot启动SDK时注册BrowserCallbacks AppObject。因此,当调用 debote.remove 时,将删除 debot 并使用 finish=true 调用回调,这表明它将永远不会被再次使用。

type ParamsOfStart = {
    debot_handle: DebotHandle
}

function start(
    params: ParamsOfStart,
): Promise<void>;

及以下https://github.com/tonlabs/TON-SDK/blob/master/docs/mod_debot.md#fetch

fetch - 从区块链中获取 DeBot 元数据。

从区块链下载 DeBot 并创建和获取其元数据。

type ParamsOfFetch = {
    address: string
}

type ResultOfFetch = {
    info: DebotInfo
}

function fetch(
    params: ParamsOfFetch,
): Promise<ResultOfFetch>;

这里是 tg chat https://t.me/freeton_dev_exp 你可以找到 SDK 开发者