Constructor: channelAdminLogEventsFilter

Back to constructors index

Event filter

Attributes:

Name Type Required Description
join Bool Optional Join users events
leave Bool Optional Left users events
invite Bool Optional Invite users events
ban Bool Optional Ban events
unban Bool Optional Unban events
kick Bool Optional Kicked users events
unkick Bool Optional Unkick events
promote Bool Optional Admin promotion events
demote Bool Optional Demote admin events
info Bool Optional Change info events
settings Bool Optional Setting changes
pinned Bool Optional Pinned message events
edit Bool Optional Edit message events
delete Bool Optional Delete message 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];

PWRTelegram json-encoded version:

{"_": "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}