channels.GetAdminLog#

class pyrogram.raw.functions.channels.GetAdminLog#

Get the admin log of a channel/supergroup.

Details:
  • Layer: 158

  • ID: 33DDF480

Parameters:
  • channel (InputChannel) – Channel.

  • q (str) – Search query, can be empty.

  • max_id (int 64-bit) – Maximum ID of message to return (see pagination).

  • min_id (int 64-bit) – Minimum ID of message to return (see pagination).

  • limit (int 32-bit) – Maximum number of results to return, see pagination.

  • events_filter (ChannelAdminLogEventsFilter, optional) – Event filter.

  • admins (List of InputUser, optional) – Only show events from these admins.

Returns:

channels.AdminLogResults