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)
| Name | Type | Required | Description |
|---|---|---|---|
channel | InputChannel | Yes | Channel |
q | string | Yes | Search query, can be empty |
events_filter | ChannelAdminLogEventsFilter | No | Event filter |
admins | Vector<InputUser> | No | Only show events from these admins |
max_id | long | Yes | Maximum ID of message to return (see [pagination](https://core.telegram.org/api/offsets.md)) |
min_id | long | Yes | Minimum ID of message to return (see [pagination](https://core.telegram.org/api/offsets.md)) |
limit | int | Yes | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |
Responses
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.