在 Telegram 应用中,您可以通过在发送前单击时钟图标来发送自毁且无法截图的照片。有没有办法使用 Telegram Bot API 重现此行为?
我正在使用 python-telegram-bot,在其文档中找不到任何内容,但我什至不确定 API 是否允许。我可以在一段时间后使用 bot.delete_message
删除消息,但是,这里重要的部分是图像不应该被屏幕截图。
最佳答案
I'm using python-telegram-bot and couldn't find anything in docs, but i'm not even sure if the API allows it.
Telegram Bot API 尚不支持此类方法。
I could delete the messages after some time using bot.delete_message, however, the important part here is that the images shouldn't be screenshottable.
是的,机器人可以“手动”删除消息,但无法控制截屏的能力。
关于telegram - 如何使用 Telegram Bot API 发送带自毁定时器的照片?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56187603/