在阅读了大量关于http://core.telegram.org的文档之后,我试图使用Telegram的API,这让我非常困惑.

I have registered my app and got a hash_id and all of that stuff. But I'm not sure where to begin with.

I had worked with Spotify's API before, and was able to interact with it using http://api.spotify.com/v1/method?params:values form.

我找不到Telegram API的URL.我也在网上搜索了很多,但没有找到任何有用的例子.

Does anyone know anything about getting started to work with Telegram's API? Any help would be appreciated.

推荐答案

如果你真的想从头开始理解Telegram API的开发.我的建议是按照这里的步骤来做

https://core.telegram.org/mtproto/auth_key

还有这里

https://core.telegram.org/mtproto/samples-auth_key

try 成功生成身份验证密钥.

This exercise will get you familiar with enough of the basics as well as help you build up routines you will need to do further work on Telegram API.

我已经为你概述了在这SO篇帖子中开始的基本知识.

Also i think the API documentation online is not so well-written, but following the above step by step while reading the API documentation, for just AuthKey generation, would get you familiar with the language and writing style of the authors of the API

Good Luck.

Json相关问答推荐

MariaDB杨森:在任何子属性中包含特定值

如何创建可由Gin序列化到json的排序键值映射?

GO KaZaam转换返回意外结果

Ansible - 将文件内容添加到字典中

如何对未知/变量键的字典进行编码?

go 语言中的 JSON 到 XML

Bicep脚本中如何设置弹性池的维护窗口?

APIM 生成 JsonArray 到 EventHub

如何在 Apps 脚本中循环遍历 JSON 响应

我如何将 JSON 格式与 flutter 一起使用?帮助使用 Gamebanana api

PowerShell:如何将哈希表输出为 json 并使用 foreach 循环将其存储在变量中?

为什么在测试 RSPEC 时 JBuilder 不返回 JSON 中的响应正文

在 C# 中解析 Json rest api 响应

使用 simplejson 序列化简单类对象的最简单方法?

如何将 LinkedTreeMap 转换为 gson JsonObject

Jsonpath 与 Jackson 或 Gson

未调用 npm package.json 脚本

获取一个数字的 PHP 对象属性

如何从 JSON 响应中提取单个值?

在android中使用GSON解析带有动态key和value的JSON