我知道有“频道操作”,但我找不到如何访问它
答案 0 :(得分:0)
您可能正在考虑“管理日志”,您可以使用 client.iter_admin_log
访问它。假设您有一个登录帐户,并且该帐户是 channel
的管理员:
async for event in client.iter_admin_log(channel):
if event.changed_title:
print('The title changed from', event.old, 'to', event.new)
您还需要阅读 event
类型 AdminLogEvent
的文档,以了解您可以使用它做什么。