Constructor: channelAdminLogEventsFilter
Filter only certain admin log events
Attributes:
Name | Type | Required | Description |
---|---|---|---|
join | Bool | Optional | Join events, including joins using invite links and join requests. |
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, slowmode, history TTL settings of a channel gets modified) |
settings | Bool | Optional | Settings change events (invites, hidden prehistory, signatures, default banned rights, forum toggle events) |
pinned | Bool | Optional | Message pin events |
edit | Bool | Optional | Message edit events |
delete | Bool | Optional | Message deletion events |
group_call | Bool | Optional | Group call events |
invites | Bool | Optional | Invite events |
send | Bool | Optional | A message was posted in a channel |
forums | Bool | Optional | Forum-related events |
sub_extend | Bool | Optional |
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, 'group_call' => Bool, 'invites' => Bool, 'send' => Bool, 'forums' => Bool, 'sub_extend' => Bool];