channels.getAdminLog
Get the admin log of a channel/supergroup
Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel.md)
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
channel | InputChannel | أيوه | Channel |
q | string | أيوه | Search query, can be empty |
events_filter | ChannelAdminLogEventsFilter | لأ | Event filter |
admins | Vector<InputUser> | لأ | Only show events from these admins |
max_id | long | أيوه | Maximum ID of message to return (see [pagination](https://core.telegram.org/api/offsets.md)) |
min_id | long | أيوه | Minimum ID of message to return (see [pagination](https://core.telegram.org/api/offsets.md)) |
limit | int | أيوه | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |
الردود
channels.AdminLogResults
MTProto RPC
- 400 · CHANNEL_INVALID — The provided channel is invalid.
- 406 · CHANNEL_PRIVATE — You haven't joined this channel/supergroup.
- 403 · CHAT_ADMIN_REQUIRED — You must be an admin in this chat to do this.
- 403 · CHAT_WRITE_FORBIDDEN — You can't write in this chat.
- 400 · MSG_ID_INVALID — Invalid message ID provided.