电报 importContacts 方法不起作用
telegram importContacts method not working
您能告诉我为什么有些电报方法不起作用吗?
例如 "https://api.telegram.org/bot{token}/sendMessage" 工作正常,它永远不会 returns 404 错误,而 https://api.telegram.org/bot{token}/importContacts 和许多其他人根本不工作.
你可以在这里找到所有方法的列表,你可以尝试一下
https://core.telegram.org/methods
感谢您的回复
Telegram 平台提供两个独立的 APIs。
Telegram Bot API 记录在 Telegram bot docs 并依赖于 HTTPS 协议。 api.telegram.org
是这个 API 的入口点。
Telegram 客户端 API 记录在 Telegram core documentation 并依赖于 MTProto 协议。
Telegram 机器人协议比 Telegram Core API 受到更多限制,如果您想创建一个客户端来使用您自己的帐户,则需要使用 MTProto API。
您能告诉我为什么有些电报方法不起作用吗? 例如 "https://api.telegram.org/bot{token}/sendMessage" 工作正常,它永远不会 returns 404 错误,而 https://api.telegram.org/bot{token}/importContacts 和许多其他人根本不工作.
你可以在这里找到所有方法的列表,你可以尝试一下 https://core.telegram.org/methods
感谢您的回复
Telegram 平台提供两个独立的 APIs。
Telegram Bot API 记录在 Telegram bot docs 并依赖于 HTTPS 协议。
api.telegram.org
是这个 API 的入口点。Telegram 客户端 API 记录在 Telegram core documentation 并依赖于 MTProto 协议。
Telegram 机器人协议比 Telegram Core API 受到更多限制,如果您想创建一个客户端来使用您自己的帐户,则需要使用 MTProto API。