channels.getAdminLog
Get the admin log of a channel/supergroup
Example
TL schema
Parameters
Name | Type | Description |
flags | Flags, see TL conditional fields | |
channel | Channel | |
q | Search query, can be empty | |
events_filter | Event filter | |
admins | Only show events from these admins | |
max_id | Maximum ID of message to return (see pagination) | |
min_id | Minimum ID of message to return (see pagination) | |
limit | Maximum number of results to return, see pagination |
Result
Possible errors
Code | Type | Description |
400 | CHANNEL_INVALID | The provided channel is invalid |
400 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup |
400 | 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 |
Can bots use this methd ?
yes
Related pages
How to fetch results from large lists of objects.
How to handle channels, supergroups, groups, and what's the difference between them.
Last updated