电报 API 与机器人 API [英] Telegram API vs Bot API

查看:72
本文介绍了电报 API 与机器人 API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您能帮我了解 Telegram API 与 Bot API 的区别吗?我尝试过电报网站,但很困惑?

Can you help me understand the differences for Telegram API vs Bot API please, I tried telegram website but just get confused?

谢谢拉敏

推荐答案

Telegram APIs

此 API 允许您构建自己的自定义 Telegram 客户端.它对所有希望在我们的平台上创建 Telegram 应用程序的开发人员开放.随意研究现有 Telegram 应用程序的开源代码,以了解这里的工作原理.不要忘记在我们的系统中注册您的应用程序.

This API allows you to build your own customized Telegram clients. It is 100% open for all developers who wish to create Telegram applications on our platform. Feel free to study the open source code of existing Telegram applications for examples of how things work here. Don't forget to register your application in our system.

机器人 API

此 API 允许您将机器人连接到我们的系统.Telegram Bot 是不需要额外电话号码即可设置的特殊帐户.这些帐户用作在您的服务器上某处运行的代码的接口.

This API allows you to connect bots to our system. Telegram Bots are special accounts that do not require an additional phone number to set up. These accounts serve as an interface for code running somewhere on your server.

您可以使用 Telegram API(与 Telegram 服务器通信)创建具有您自己的 UI 和环境的 Telegram 客户端应用程序.比如PlusTelegram Web、Mobogram.

You can create Telegram client apps with your own UI and environment using Telegram APIs (to communicate with Telegram server). like Plus, Telegram Web, Mobogram.

但 Telegram Bot API 与 UI 和环境无关.这是关于 Telegram 平台中可能的服务.然后用户与您的机器人通信并通过他们原始的 Telegram 应用程序(或他们的 Telegram 客户端)获得任何服务.游戏机器人英文学习机器人.

But the Telegram Bot API is not about the UI and environment. It's about the possible services in the Telegram platform. Then users communicate with your Bot and get any services via their original Telegram apps (or their Telegram Clients). Game bot, English Learning bot.

这篇关于电报 API 与机器人 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆