Raw.channels.GetAdminLog
Get the admin log of a channel/supergroup
channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector<InputUser> max_id:long min_id:long limit:int = channels.AdminLogResults;
export namespace Raw {
export namespace channels {
export class GetAdminLog {
constructor(params: {
channel: Raw.TypeInputChannel;
q: string;
eventsFilter?: Raw.TypeChannelAdminLogEventsFilter;
admins?: Array<Raw.TypeInputUser>;
maxId: bigint;
minId: bigint;
limit: number;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x33ddf480
Property
channel
: Raw.TypeInputChannelChannel
q
: stringSearch query, can be empty
eventsFilter
: Raw.TypeChannelAdminLogEventsFilter or undefinedEvent filter
admins
: Array of Raw.TypeInputUser or undefinedOnly show events from these admins
maxId
: bigintMaximum id of message to return (see pagination)
minId
: bigintMinimum id of message to return (see pagination)
limit
: numberMaximum number of results to return, see pagination