How do “Simple PUSH” events work in Telegram?

时光毁灭记忆、已成空白 提交于 2019-12-10 21:25:56

问题


The documentation for subscribing to the PUSH infrastructure in the Telegram API is very lacking, as it mainly focuses on mobile platforms.

But what if one is developing a web app or a desktop app? How does the "Simple Push" mode work in this case?

I've tried to look at the javascript sources for webogram, and it's not clear if it uses PUSH infrastructure or just polling with a timeout (some commits state "initial changes towards push messaging", but it's not clear if it's finished). Looking at the C or C++ sources for other desktop apps I've found doesn't sound very appealing, so I'd be grateful for any pointers!

来源:https://stackoverflow.com/questions/29542714/how-do-simple-push-events-work-in-telegram

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!