Constructor: channelAdminLogEventsFilter

Back to constructors index

Filter only certain admin log events

Attributes:

Name Type Required Description
join Bool Optional Join events
leave Bool Optional Leave events
invite Bool Optional Invite events
ban Bool Optional Ban events
unban Bool Optional Unban events
kick Bool Optional Kick events
unkick Bool Optional Unkick events
promote Bool Optional Admin promotion events
demote Bool Optional Admin demotion events
info Bool Optional Info change events (when about, linked chat, location, photo, stickerset, title or username data of a channel gets modified)
settings Bool Optional Settings change events (invites, hidden prehistory, signatures, default banned rights)
pinned Bool Optional Message pin events
edit Bool Optional Message edit events
delete Bool Optional Message deletion events

Type: ChannelAdminLogEventsFilter

Example:

$channelAdminLogEventsFilter = ['_' => 'channelAdminLogEventsFilter', 'join' => Bool, 'leave' => Bool, 'invite' => Bool, 'ban' => Bool, 'unban' => Bool, 'kick' => Bool, 'unkick' => Bool, 'promote' => Bool, 'demote' => Bool, 'info' => Bool, 'settings' => Bool, 'pinned' => Bool, 'edit' => Bool, 'delete' => Bool];

Or, if you’re into Lua:

channelAdminLogEventsFilter={_='channelAdminLogEventsFilter', join=Bool, leave=Bool, invite=Bool, ban=Bool, unban=Bool, kick=Bool, unkick=Bool, promote=Bool, demote=Bool, info=Bool, settings=Bool, pinned=Bool, edit=Bool, delete=Bool}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.