How to know if user has seen a message sent by my bot in Telegram?

笑着哭i 提交于 2019-12-10 13:42:56

问题


I'm developing a Telegram bot, and I want to know whether a user, that has started a private chat with my bot, has seen a certain message sent by bot, and to know when has he seen it.
Is it possible to do so?
Thank you very much.


回答1:


That's currently not possible.




回答2:


I'm using this solution.

  1. Create a channel specially for your bot
  2. Let your robot send message from this channel to users, you can use forward method.
  3. Now you can see how many users have seen your message



回答3:


perhaps this answer help you :

in the end of your message place link example : yoursite.com\checkvisit.php?id=1234

when user open message link automatic run for telegram ...

you can understand message was read

you must in checkvisit.php set to check db if id exist and not read set it to read

then id in db remove or disable

but this method simple - telegram must add 1 parameter to return this

sorry my english not good



来源:https://stackoverflow.com/questions/38033005/how-to-know-if-user-has-seen-a-message-sent-by-my-bot-in-telegram

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