使用 python 查找我在电报中转发的消息的位置?
find where my message forwarded in telegram using python?
有没有一种方法可以使用 python 中的 电报库找到我在电报中转发的消息的位置?
注意:我的频道消息
无法知道邮件转发到了哪里。任何可以看到您或您的频道消息的人都可以将它们转发到任何他们喜欢的地方。
编辑更新:
您可以使用 GetMessagesPublicForwards 获取您的频道消息转发到的其他 public 频道中的消息列表。
你可以用 pyrogram
这样检查
from pyrogram improt filters
@app.on_message(filters.channel)
def updates(_, message):
if message.forward_date:
print("This message forwarded")
pyrorgam docs
有没有一种方法可以使用 python 中的 电报库找到我在电报中转发的消息的位置?
注意:我的频道消息
无法知道邮件转发到了哪里。任何可以看到您或您的频道消息的人都可以将它们转发到任何他们喜欢的地方。
编辑更新:
您可以使用 GetMessagesPublicForwards 获取您的频道消息转发到的其他 public 频道中的消息列表。
你可以用 pyrogram
这样检查from pyrogram improt filters
@app.on_message(filters.channel)
def updates(_, message):
if message.forward_date:
print("This message forwarded")
pyrorgam docs