Reputation: 966
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.
Upvotes: 9
Views: 9769
Reputation: 1
it is not possible yet , you might want to search for Madeline bot
Upvotes: 0
Reputation: 423
Telegram Bot API has limit functionality. There is absolutely no way to get message view count at the time of this comment.
Usually TDLib can be used instead of Telegram Bot. It is Telegram client library. You can use it directly or make it as services for BOT to call.
For example. use TdApi.GetMessage
to get the message, and the returned message has field of interactionInfo
which contains forwardCount
or viewCount
.
Upvotes: 1
Reputation: 41
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
Upvotes: 0
Reputation: 1238
I'm using this solution.
Upvotes: 6