如何使用telethon检测用户阅读的消息? [英] how to detect user read message with telethon?

查看:38
本文介绍了如何使用telethon检测用户阅读的消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Telethon(电报 API 的 Python 包装器)向用户发送消息.现在我想知道收到我消息的用户是否阅读了该消息.用户阅读消息时,与 Telegram 客户端中的两个勾号相同.

I send message to a user with Telethon (python wrapper for telegram API). Now I want to know users that received my message read that or not. Same as two tick in Telegram clients when user read message.

推荐答案

有一个 MessageRead 事件.当用户阅读您发送的消息时触发.

There is a MessageRead event. It is triggered when a user reads a message you sent.

这篇关于如何使用telethon检测用户阅读的消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆