Get the admin log of a channel/supergroup
Method schema is available as of layer 68. Switch ยป
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
channel | InputChannel | Channel |
q | string | Search query, can be empty |
events_filter | flags.0?ChannelAdminLogEventsFilter | Event filter |
admins | flags.1?Vector<InputUser> | Only show events from these admins |
max_id | long | Maximum ID of message to return (see pagination) |
min_id | long | Minimum ID of message to return (see pagination) |
limit | int | Maximum number of results to return, see pagination |
Code | Type | Description |
---|---|---|
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. |
How to fetch results from large lists of objects.
How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.