Open satouriko opened 5 years ago
router 当前支持查找 converter 来把某种 API 翻译成另一种, 还需要设计算法使它能够查找到一个 converter 的链来把某种 API 翻译成另一种,例如要把 Telegram-Bot-API 变成 CoolQ-HTTP-API,先把 Telegram-Bot-API 变成 UBM-API,再把 UBM-API 变成 CoolQ-HTTP-API。
tgbot-ubm-conv 当前支持 tgbot.update -> ubm.receive ubm.send -> tgbot.apirequest 还需要支持 ubm.receive -> tgbot.update // 使用 tgbot api 的机器人可以通过 tg http 代理服务插件接入并接收消息 tgbot.apirequest -> ubm.send // 使用 tgbot api 的机器人可以通过 tg http 代理服务插件接入并发送消息
cqhttp-ubm-conv 当前支持 cqhttp.event -> ubm.receive ubm.send -> cqhttp.apirequest 还需要支持 ubm.receive -> cqhttp.event // 使用 cqhttp api 的机器人可以通过 cqhttp ws 代理服务插件接入并接收消息 cqhttp.apirequest -> ubm.send // 使用 cqhttp api 的机器人可以通过 cqhttp ws 代理服务插件接入并发送消息
router 当前支持查找 converter 来把某种 API 翻译成另一种, 还需要设计算法使它能够查找到一个 converter 的链来把某种 API 翻译成另一种,例如要把 Telegram-Bot-API 变成 CoolQ-HTTP-API,先把 Telegram-Bot-API 变成 UBM-API,再把 UBM-API 变成 CoolQ-HTTP-API。
tgbot-ubm-conv 当前支持 tgbot.update -> ubm.receive ubm.send -> tgbot.apirequest 还需要支持 ubm.receive -> tgbot.update // 使用 tgbot api 的机器人可以通过 tg http 代理服务插件接入并接收消息 tgbot.apirequest -> ubm.send // 使用 tgbot api 的机器人可以通过 tg http 代理服务插件接入并发送消息
cqhttp-ubm-conv 当前支持 cqhttp.event -> ubm.receive ubm.send -> cqhttp.apirequest 还需要支持 ubm.receive -> cqhttp.event // 使用 cqhttp api 的机器人可以通过 cqhttp ws 代理服务插件接入并接收消息 cqhttp.apirequest -> ubm.send // 使用 cqhttp api 的机器人可以通过 cqhttp ws 代理服务插件接入并发送消息