telegram channel's post view count [closed]

ε祈祈猫儿з 提交于 2019-12-08 16:07:06

问题


I'm an intermediate vb.net programmer and this is my first time trying to know telegram core more. I want to learn more about telegram channel's post view count system. How does it work ? and what are the API parts involved regarding to this. I searched the web , but I didn't find anything related and comprehensive to my question.

Thanks in advance


回答1:


I had this question too. To get the answer I created a private channel and added one of my friends to it and posted some text. So only 2 people were in the channel and as the channel was private no one else had the chance of visiting the channel. After some days I understood that posts' view count increases and after searching a lot I understood that telegram counts view times when a specific user sees the post and this is repeated every 24 hours.

For example if you view a post today at 8:00 pm, other views will not count until tomorrow 8:00 pm and this cycle continues.




回答2:


You can't have this number from Telegram Bot, but you can get from post-link. For example link to post https://t.me/losslesmusic/443
Photo
The counter is this:

> <span class="tgme_widget_message_views">55</span><span
> class="copyonly"> views</span><span
> class="tgme_widget_message_meta"><a class="tgme_widget_message_date"
> href="https://t.me/losslesmusic/443"><time
> datetime="2018-02-26T19:14:11+00:00">Feb 26 at 21:14</time></a></span>


来源:https://stackoverflow.com/questions/42585314/telegram-channels-post-view-count

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