Updated Recent actions (markdown)

Lonami 2019-08-01 18:49:16 +02:00
parent e3af73e4a5
commit 0087c5b8f5

@ -1 +1 @@
"Recent actions" is simply the name official applications have given to the "admin log". Simply use [`GetAdminLogRequest`](https://lonamiwebs.github.io/Telethon/methods/channels/get_admin_log.html) for that, and you'll get <code><a href="https://lonamiwebs.github.io/Telethon/constructors/channels/admin_log_results.html">AdminLogResults</a>.<a href="https://lonamiwebs.github.io/Telethon/constructors/channel_admin_log_event.html">events</a></code> in return which in turn has the final [`.action`](https://lonamiwebs.github.io/Telethon/types/channel_admin_log_event_action.html).
"Recent actions" is simply the name official applications have given to the "admin log". Simply use [`client.iter_admin_log()`](https://docs.telethon.dev/en/latest/modules/client.html#telethon.client.chats.ChatMethods.iter_admin_log) for that. Click the link for examples.