channelAdminLogEventsFilter #

Filter only certain admin log events

Layer 223

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 sub_extend:flags.18?true edit_rank:flags.19?true = ChannelAdminLogEventsFilter;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
joinflags.0?trueJoin events, including joins using invite links and join requests.
leaveflags.1?trueLeave events
inviteflags.2?trueInvite events
banflags.3?trueBan events
unbanflags.4?trueUnban events
kickflags.5?trueKick events
unkickflags.6?trueUnkick events
promoteflags.7?trueAdmin promotion events
demoteflags.8?trueAdmin demotion events
infoflags.9?trueInfo change events (when about, linked chat, location, photo, stickerset, title or username, slowmode, history TTL settings of a channel gets modified)
settingsflags.10?trueSettings change events (invites, hidden prehistory, signatures, default banned rights, forum toggle events)
pinnedflags.11?trueMessage pin events
editflags.12?trueMessage edit events
deleteflags.13?trueMessage deletion events
group_callflags.14?trueGroup call events
invitesflags.15?trueInvite events
sendflags.16?trueA message was posted in a channel
forumsflags.17?trueForum-related events
sub_extendflags.18?trueTelegram Star subscription extension events »
edit_rankflags.19?trueEvents where a participant's custom tag (rank) » was changed (channelAdminLogEventActionParticipantEditRank).

Type #

ChannelAdminLogEventsFilter

channelAdminLogEventActionParticipantJoin #

A user has joined the group (in the case of big groups, info of the user that has joined isn't shown)

channelAdminLogEventActionParticipantJoinByInvite #

A user joined the supergroup/channel using a specific invite link

channelAdminLogEventActionParticipantJoinByRequest #

A new member was accepted to the chat by an admin

channelAdminLogEventActionParticipantLeave #

A user left the channel/supergroup (in the case of big groups, info of the user that has joined isn't shown)

channelAdminLogEventActionParticipantInvite #

A user was invited to the group

channelAdminLogEventActionParticipantToggleBan #

The banned rights of a user were changed

channelAdminLogEventActionParticipantToggleAdmin #

The admin rights of a user were changed

channelAdminLogEventActionChangeAbout #

The description was changed

channelAdminLogEventActionChangeLinkedChat #

The linked chat was changed

channelAdminLogEventActionChangeLocation #

The geogroup location was changed

channelAdminLogEventActionChangePhoto #

The channel/supergroup's picture was changed

channelAdminLogEventActionChangeStickerSet #

The supergroup's stickerset was changed

channelAdminLogEventActionChangeTitle #

Channel/supergroup title was changed

channelAdminLogEventActionChangeUsername #

Channel/supergroup username was changed

channelAdminLogEventActionToggleSlowMode #

Slow mode setting for supergroups was changed

channelAdminLogEventActionChangeHistoryTTL #

The Time-To-Live of messages in this chat was changed

channelAdminLogEventActionToggleInvites #

Invites were enabled/disabled

channelAdminLogEventActionTogglePreHistoryHidden #

The hidden prehistory setting was changed

channelAdminLogEventActionToggleSignatures #

Channel signatures were enabled/disabled

channelAdminLogEventActionDefaultBannedRights #

The default banned rights were modified

channelAdminLogEventActionToggleForum #

Forum functionality was enabled or disabled.

channelAdminLogEventActionUpdatePinned #

A message was pinned

channelAdminLogEventActionEditMessage #

A message was edited

channelAdminLogEventActionDeleteMessage #

A message was deleted

Forum topics #

Telegram allows creating forums with multiple distinct topics.

channelAdminLogEventActionParticipantSubExtend #

A paid subscriber has extended their Telegram Star subscription ».

Group participant tags #

Members in group chats (both basic groups and supergroups) can add a tag next to their name — to show their role at work, what they study in school, and more.

channelAdminLogEventActionParticipantEditRank #

A participant's tag » was changed.