电报API与Bot API [英] Telegram API vs Bot API

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

问题描述

请问您能帮我理解Telegram API与Bot API的区别吗?我尝试了Telegram网站,但感到困惑?

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

谢谢 拉明

推荐答案

电报API

此API允许您构建自己的自定义Telegram客户端.它对所有希望在我们的平台上创建Telegram应用程序的开发人员都是100%开放的.随意研究现有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.

Bot API

此API可让您将漫游器连接到我们的系统.电报机器人是特殊帐户,不需要设置其他电话号码.这些帐户用作在服务器上某处运行的代码的接口.

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客户端应用程序.例如电报网,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平台中可能的服务的.然后,用户与您的Bot通信并通过其原始电报应用程序(或其电报客户端)获得任何服务. 游戏机器人英语学习机器人.

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与Bot API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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