2022-05-14 00:37:40 +02:00
<!DOCTYPE html>
< html class = "" >
< head >
< meta charset = "utf-8" >
< title > Admin log< / title >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
< meta property = "description" content = "Both supergroups and channels offer a so-called [admin log](https://telegram.org/blog/admin-revolution), a log of recent relevant supergroup and channel actions, like the modification of group/channel settings or information on behalf of an admin, user kicks and bans, and more." >
< meta property = "og:title" content = "Admin log" >
< meta property = "og:image" content = "" >
< meta property = "og:description" content = "Both supergroups and channels offer a so-called [admin log](https://telegram.org/blog/admin-revolution), a log of recent relevant supergroup and channel actions, like the modification of group/channel settings or information on behalf of an admin, user kicks and bans, and more." >
< link rel = "icon" type = "image/svg+xml" href = "/img/website_icon.svg?4" >
< link rel = "apple-touch-icon" sizes = "180x180" href = "/img/apple-touch-icon.png" >
< link rel = "icon" type = "image/png" sizes = "32x32" href = "/img/favicon-32x32.png" >
< link rel = "icon" type = "image/png" sizes = "16x16" href = "/img/favicon-16x16.png" >
< link rel = "alternate icon" href = "/img/favicon.ico" type = "image/x-icon" / >
< link href = "/css/bootstrap.min.css?3" rel = "stylesheet" >
2022-06-17 17:53:56 +02:00
< link href = "/css/telegram.css?231" rel = "stylesheet" media = "screen" >
2022-05-14 00:37:40 +02:00
< style >
< / style >
< / head >
< body class = "preload" >
< div class = "dev_page_wrap" >
< div class = "dev_page_head navbar navbar-static-top navbar-tg" >
< div class = "navbar-inner" >
< div class = "container clearfix" >
< ul class = "nav navbar-nav navbar-right hidden-xs" > < li class = "navbar-twitter" > < a href = "https://twitter.com/telegram" target = "_blank" data-track = "Follow/Twitter" onclick = "trackDlClick(this, event)" > < i class = "icon icon-twitter" > < / i > < span > Twitter< / span > < / a > < / li > < / ul >
< ul class = "nav navbar-nav" >
< li > < a href = "//telegram.org/" > Home< / a > < / li >
< li class = "hidden-xs" > < a href = "//telegram.org/faq" > FAQ< / a > < / li >
< li class = "hidden-xs" > < a href = "//telegram.org/apps" > Apps< / a > < / li >
< li class = "active" > < a href = "/api" > API< / a > < / li >
< li class = "" > < a href = "/mtproto" > Protocol< / a > < / li >
< li class = "" > < a href = "/schema" > Schema< / a > < / li >
< / ul >
< / div >
< / div >
< / div >
< div class = "container clearfix" >
< div class = "dev_page" >
< div id = "dev_page_content_wrap" class = " " >
< div class = "dev_page_bread_crumbs" > < ul class = "breadcrumb clearfix" > < li > < a href = "/api" > API< / a > < / li > < i class = "icon icon-breadcrumb-divider" > < / i > < li > < a href = "/api/recent-actions" > Admin log< / a > < / li > < / ul > < / div >
< h1 id = "dev_page_title" > Admin log< / h1 >
< div id = "dev_page_content" > <!-- scroll_nav -->
< p > Both supergroups and channels offer a so-called < a href = "https://telegram.org/blog/admin-revolution" > admin log< / a > , a log of recent relevant supergroup and channel actions, like the modification of group/channel settings or information on behalf of an admin, user kicks and bans, and more. < / p >
< pre > < code > < a href = '/constructor/channelAdminLogEventActionChangeTitle' > channelAdminLogEventActionChangeTitle< / a > #e6dfb825 prev_value:< a href = '/type/string' > string< / a > new_value:< a href = '/type/string' > string< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionChangeAbout' > channelAdminLogEventActionChangeAbout< / a > #55188a2e prev_value:< a href = '/type/string' > string< / a > new_value:< a href = '/type/string' > string< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionChangeUsername' > channelAdminLogEventActionChangeUsername< / a > #6a4afc38 prev_value:< a href = '/type/string' > string< / a > new_value:< a href = '/type/string' > string< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionChangePhoto' > channelAdminLogEventActionChangePhoto< / a > #434bd2af prev_photo:< a href = '/type/Photo' > Photo< / a > new_photo:< a href = '/type/Photo' > Photo< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionToggleInvites' > channelAdminLogEventActionToggleInvites< / a > #1b7907ae new_value:< a href = '/type/Bool' > Bool< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionToggleSignatures' > channelAdminLogEventActionToggleSignatures< / a > #26ae0971 new_value:< a href = '/type/Bool' > Bool< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionUpdatePinned' > channelAdminLogEventActionUpdatePinned< / a > #e9e82c18 message:< a href = '/type/Message' > Message< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionEditMessage' > channelAdminLogEventActionEditMessage< / a > #709b2405 prev_message:< a href = '/type/Message' > Message< / a > new_message:< a href = '/type/Message' > Message< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionDeleteMessage' > channelAdminLogEventActionDeleteMessage< / a > #42e047bb message:< a href = '/type/Message' > Message< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionParticipantJoin' > channelAdminLogEventActionParticipantJoin< / a > #183040d3 = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionParticipantLeave' > channelAdminLogEventActionParticipantLeave< / a > #f89777f2 = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionParticipantInvite' > channelAdminLogEventActionParticipantInvite< / a > #e31c34d8 participant:< a href = '/type/ChannelParticipant' > ChannelParticipant< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionParticipantToggleBan' > channelAdminLogEventActionParticipantToggleBan< / a > #e6d83d7e prev_participant:< a href = '/type/ChannelParticipant' > ChannelParticipant< / a > new_participant:< a href = '/type/ChannelParticipant' > ChannelParticipant< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionParticipantToggleAdmin' > channelAdminLogEventActionParticipantToggleAdmin< / a > #d5676710 prev_participant:< a href = '/type/ChannelParticipant' > ChannelParticipant< / a > new_participant:< a href = '/type/ChannelParticipant' > ChannelParticipant< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionChangeStickerSet' > channelAdminLogEventActionChangeStickerSet< / a > #b1c3caa7 prev_stickerset:< a href = '/type/InputStickerSet' > InputStickerSet< / a > new_stickerset:< a href = '/type/InputStickerSet' > InputStickerSet< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionTogglePreHistoryHidden' > channelAdminLogEventActionTogglePreHistoryHidden< / a > #5f5c95f1 new_value:< a href = '/type/Bool' > Bool< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionDefaultBannedRights' > channelAdminLogEventActionDefaultBannedRights< / a > #2df5fc0a prev_banned_rights:< a href = '/type/ChatBannedRights' > ChatBannedRights< / a > new_banned_rights:< a href = '/type/ChatBannedRights' > ChatBannedRights< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionStopPoll' > channelAdminLogEventActionStopPoll< / a > #8f079643 message:< a href = '/type/Message' > Message< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionChangeLinkedChat' > channelAdminLogEventActionChangeLinkedChat< / a > #50c7ac8 prev_value:< a href = '/type/long' > long< / a > new_value:< a href = '/type/long' > long< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionChangeLocation' > channelAdminLogEventActionChangeLocation< / a > #e6b76ae prev_value:< a href = '/type/ChannelLocation' > ChannelLocation< / a > new_value:< a href = '/type/ChannelLocation' > ChannelLocation< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEventActionToggleSlowMode' > channelAdminLogEventActionToggleSlowMode< / a > #53909779 prev_value:< a href = '/type/int' > int< / a > new_value:< a href = '/type/int' > int< / a > = < a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > ;
< a href = '/constructor/channelAdminLogEvent' > channelAdminLogEvent< / a > #1fad68cd id:< a href = '/type/long' > long< / a > date:< a href = '/type/int' > int< / a > user_id:< a href = '/type/long' > long< / a > action:< a href = '/type/ChannelAdminLogEventAction' > ChannelAdminLogEventAction< / a > = < a href = '/type/ChannelAdminLogEvent' > ChannelAdminLogEvent< / a > ;
< a href = '/constructor/channels.adminLogResults' > channels.adminLogResults< / a > #ed8af74d events:< a href = '/type/Vector%20t' > Vector< / a > < < a href = '/type/ChannelAdminLogEvent' > ChannelAdminLogEvent< / a > > chats:< a href = '/type/Vector%20t' > Vector< / a > < < a href = '/type/Chat' > Chat< / a > > users:< a href = '/type/Vector%20t' > Vector< / a > < < a href = '/type/User' > User< / a > > = < a href = '/type/channels.AdminLogResults' > channels.AdminLogResults< / a > ;
< a href = '/constructor/channelAdminLogEventsFilter' > channelAdminLogEventsFilter< / a > #ea107ae4 flags:< a href = '/type/%23' > #< / a > join:flags.0?< a href = '/constructor/true' > true< / a > leave:flags.1?< a href = '/constructor/true' > true< / a > invite:flags.2?< a href = '/constructor/true' > true< / a > ban:flags.3?< a href = '/constructor/true' > true< / a > unban:flags.4?< a href = '/constructor/true' > true< / a > kick:flags.5?< a href = '/constructor/true' > true< / a > unkick:flags.6?< a href = '/constructor/true' > true< / a > promote:flags.7?< a href = '/constructor/true' > true< / a > demote:flags.8?< a href = '/constructor/true' > true< / a > info:flags.9?< a href = '/constructor/true' > true< / a > settings:flags.10?< a href = '/constructor/true' > true< / a > pinned:flags.11?< a href = '/constructor/true' > true< / a > edit:flags.12?< a href = '/constructor/true' > true< / a > delete:flags.13?< a href = '/constructor/true' > true< / a > group_call:flags.14?< a href = '/constructor/true' > true< / a > invites:flags.15?< a href = '/constructor/true' > true< / a > send:flags.16?< a href = '/constructor/true' > true< / a > = < a href = '/type/ChannelAdminLogEventsFilter' > ChannelAdminLogEventsFilter< / a > ;
---functions---
< a href = '/method/channels.getAdminLog' > channels.getAdminLog< / a > #33ddf480 flags:< a href = '/type/%23' > #< / a > channel:< a href = '/type/InputChannel' > InputChannel< / a > q:< a href = '/type/string' > string< / a > events_filter:flags.0?< a href = '/type/ChannelAdminLogEventsFilter' > ChannelAdminLogEventsFilter< / a > admins:flags.1?< a href = '/type/Vector%20t' > Vector< / a > < < a href = '/type/InputUser' > InputUser< / a > > max_id:< a href = '/type/long' > long< / a > min_id:< a href = '/type/long' > long< / a > limit:< a href = '/type/int' > int< / a > = < a href = '/type/channels.AdminLogResults' > channels.AdminLogResults< / a > ;< / code > < / pre >
< p > < a href = "/method/channels.getAdminLog" > channels.getAdminLog< / a > can be used to list recent admin activity.< br >
A < a href = "/constructor/channelAdminLogEventsFilter" > channelAdminLogEventsFilter< / a > can be used to filter out actions of a certain type, and the < code > admins< / code > field can be used to show only actions by certain admins.< br >
< code > q< / code > can also be used to filter only logs matching a query string. < / p > < / div >
< / div >
< / div >
< / div >
< div class = "footer_wrap" >
< div class = "footer_columns_wrap footer_desktop" >
< div class = "footer_column footer_column_telegram" >
< h5 > Telegram< / h5 >
< div class = "footer_telegram_description" > < / div >
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.
< / div >
< div class = "footer_column" >
< h5 > < a href = "//telegram.org/faq" > About< / a > < / h5 >
< ul >
< li > < a href = "//telegram.org/faq" > FAQ< / a > < / li >
< li > < a href = "//telegram.org/blog" > Blog< / a > < / li >
< li > < a href = "//telegram.org/jobs" > Jobs< / a > < / li >
< / ul >
< / div >
< div class = "footer_column" >
< h5 > < a href = "//telegram.org/apps#mobile-apps" > Mobile Apps< / a > < / h5 >
< ul >
< li > < a href = "//telegram.org/dl/ios" > iPhone/iPad< / a > < / li >
< li > < a href = "//telegram.org/dl/android" > Android< / a > < / li >
< li > < a href = "//telegram.org/dl/wp" > Windows Phone< / a > < / li >
< / ul >
< / div >
< div class = "footer_column" >
< h5 > < a href = "//telegram.org/apps#desktop-apps" > Desktop Apps< / a > < / h5 >
< ul >
< li > < a href = "//desktop.telegram.org/" > PC/Mac/Linux< / a > < / li >
< li > < a href = "//macos.telegram.org/" > macOS< / a > < / li >
< li > < a href = "//telegram.org/dl/web" > Web-browser< / a > < / li >
< / ul >
< / div >
< div class = "footer_column footer_column_platform" >
< h5 > < a href = "/" > Platform< / a > < / h5 >
< ul >
< li > < a href = "/api" > API< / a > < / li >
< li > < a href = "//translations.telegram.org/" > Translations< / a > < / li >
< li > < a href = "//instantview.telegram.org/" > Instant View< / a > < / li >
< / ul >
< / div >
< / div >
< div class = "footer_columns_wrap footer_mobile" >
< div class = "footer_column" >
< h5 > < a href = "//telegram.org/faq" > About< / a > < / h5 >
< / div >
< div class = "footer_column" >
< h5 > < a href = "//telegram.org/blog" > Blog< / a > < / h5 >
< / div >
< div class = "footer_column" >
< h5 > < a href = "//telegram.org/apps" > Apps< / a > < / h5 >
< / div >
< div class = "footer_column" >
< h5 > < a href = "/" > Platform< / a > < / h5 >
< / div >
< div class = "footer_column" >
< h5 > < a href = "https://twitter.com/telegram" target = "_blank" data-track = "Follow/Twitter" onclick = "trackDlClick(this, event)" > Twitter< / a > < / h5 >
< / div >
< / div >
< / div >
< / div >
< script src = "/js/main.js?46" > < / script >
< script src = "/js/jquery.min.js?1" > < / script >
< script src = "/js/bootstrap.min.js?1" > < / script >
< script > w i n d o w . i n i t D e v P a g e N a v & & i n i t D e v P a g e N a v ( ) ;
backToTopInit("Go up");
removePreloadInit();
< / script >
< / body >
< / html >