Raw.ChannelAdminLogEventsFilter
Filter only certain admin log events
channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true forums:flags.17?true = ChannelAdminLogEventsFilter;
export namespace Raw {
export class ChannelAdminLogEventsFilter {
constructor(params: {
join?: boolean;
leave?: boolean;
invite?: boolean;
ban?: boolean;
unban?: boolean;
kick?: boolean;
unkick?: boolean;
promote?: boolean;
demote?: boolean;
info?: boolean;
settings?: boolean;
pinned?: boolean;
edit?: boolean;
delete?: boolean;
groupCall?: boolean;
invites?: boolean;
send?: boolean;
forums?: boolean;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xea107ae4
Property
join
: boolean or undefinedJoin events, including joins using invite links and join requests.
leave
: boolean or undefinedLeave events
invite
: boolean or undefinedInvite events
ban
: boolean or undefinedBan events
unban
: boolean or undefinedUnban events
kick
: boolean or undefinedKick events
unkick
: boolean or undefinedUnkick events
promote
: boolean or undefinedAdmin promotion events
demote
: boolean or undefinedAdmin demotion events
info
: boolean or undefinedInfo change events (when about, linked chat, location, photo, stickerset, title or username, slowmode, history ttl settings of a channel gets modified)
settings
: boolean or undefinedSettings change events (invites, hidden prehistory, signatures, default banned rights, forum toggle events)
pinned
: boolean or undefinedMessage pin events
edit
: boolean or undefinedMessage edit events
delete
: boolean or undefinedMessage deletion events
groupCall
: boolean or undefinedGroup call events
invites
: boolean or undefinedInvite events
send
: boolean or undefinedA message was posted in a channel
forums
: boolean or undefinedForum-related events