mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-02 21:17:49 +01:00
503 lines
40 KiB
HTML
503 lines
40 KiB
HTML
<!DOCTYPE html>
|
||
<html class="">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<title>channelFull</title>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<meta property="description" content="Full info about a channel, supergroup or gigagroup. When updating the local peer database », all fields from the newly received constructor take priority over the old constructor cached locally (including by removing fields that aren't set in the new constructor).">
|
||
<meta property="og:title" content="channelFull">
|
||
<meta property="og:image" content="">
|
||
<meta property="og:description" content="Full info about a channel, supergroup or gigagroup. When updating the local peer database », all fields from the newly received constructor take priority over the old constructor cached locally (including by removing fields that aren't set in the new constructor).">
|
||
<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">
|
||
|
||
<link href="/css/telegram.css?241" rel="stylesheet" media="screen">
|
||
<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=""><a href="/api">API</a></li>
|
||
<li class=""><a href="/mtproto">Protocol</a></li>
|
||
<li class="active"><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="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/channelFull" >channelFull</a></li></ul></div>
|
||
<h1 id="dev_page_title">channelFull</h1>
|
||
|
||
<div id="dev_page_content"><p>Full info about a <a href="/api/channel#channels">channel</a>, <a href="/api/channel#supergroups">supergroup</a> or <a href="/api/channel#gigagroups">gigagroup</a>.</p>
|
||
<p>When updating the <a href="/api/peers">local peer database »</a>, all fields from the newly received constructor take priority over the old constructor cached locally (including by removing fields that aren't set in the new constructor).</p>
|
||
<p><div class="clearfix">
|
||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||
<li class="dropdown">
|
||
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 185 <b class="caret"></b></a>
|
||
<ul class="dropdown-menu">
|
||
<li><a href="?layer=1">1 – Base layer</a></li><li><a href="?layer=2">2 – New userpic notifications</a></li><li><a href="?layer=3">3 – Send message can trigger link change</a></li><li><a href="?layer=4">4 – Check-in chats</a></li><li><a href="?layer=5">5 – Localized SMS, localized notifications</a></li><li><a href="?layer=6">6 – Foursquare integration</a></li><li><a href="?layer=7">7 – Added wallPaperSolid</a></li><li><a href="?layer=8">8 – Added end-to-end encryption</a></li><li><a href="?layer=9">9 – Improved big files upload perfomance</a></li><li><a href="?layer=10">10 – Improved chat participants updates</a></li><li><a href="?layer=11">11 – Improved secret chats</a></li><li><a href="?layer=12">12 – New dynamic support</a></li><li><a href="?layer=13">13 – Audio, video MIME; contacts import retry; new secret actions</a></li><li><a href="?layer=14">14 – Notify settings sync, blacklist sync</a></li><li><a href="?layer=15">15 – Modified getHistory offset behaviour</a></li><li><a href="?layer=16">16 – Split sendCode into 2 parts</a></li><li><a href="?layer=17">17 – Added custom typing, introduced message flags</a></li><li><a href="?layer=18">18 – Added usernames</a></li><li><a href="?layer=23">23 – Stickers for secret chats</a></li><li><a href="?layer=105">105 – Scheduled messages, Cloud themes</a></li><li><a href="?layer=108">108 – Login with QR code</a></li><li><a href="?layer=109">109 – Polls v2</a></li><li><a href="?layer=110">110 – People Nearby 2.0, Bank card entity</a></li><li><a href="?layer=111">111 – Folders, Broadcast Stats</a></li><li><a href="?layer=112">112 – Old featured stickers, generic dice, poll timer, poll solution</a></li><li><a href="?layer=113">113 – PSA</a></li><li><a href="?layer=114">114 – Video thumbs for GIFs</a></li><li><a href="?layer=115">115 – Peek Channel Invite</a></li><li><a href="?layer=116">116 – Group Stats, Profile Videos</a></li><li><a href="?layer=117">117 – WebRTC Phone Calls</a></li><li><a href="?layer=118">118 – Callback with 2FA, Countries list</a></li><li><a href="?layer=119">119 – Comments in channels, Threads, Anonymous Admins</a></li><li><a href="?layer=120">120 – Multipins, Message Stats, GeoLive v2</a></li><li><a href="?layer=121">121 – SVG-based Outlines for Stickers</a></li><li><a href="?layer=122">122 – Voice Chats</a></li><li><a href="?layer=123">123 – Voice Chat improvements</a></li><li><a href="?layer=124">124 – Expiring Invite links</a></li><li><a href="?layer=125">125 – Voice Chats in Broadcasts</a></li><li><a href="?layer=126">126 – Ban channels in channels</a></li><li><a href="?layer=127">127 – Payments in channels</a></li><li><a href="?layer=128">128 – Microthumbs for User/Chat profile photos</a></li><li><a href="?layer=129">129 – Video Chats</a></li><li><a href="?layer=130">130 – Custom placeholder for bot reply keyboards</a></li><li><a href="?layer=131">131 – Reset 2FA Password after a week</a></li><li><a href="?layer=132">132 – Chat themes</a></li><li><a href="?layer=133">133 – 64-bit IDs for User/Chat</a></li><li><a href="?layer=134">134 – Chat Requests, Shared Media Calendar</a></li><li><a href="?layer=135">135 – Send Message As a Channel</a></li><li><a href="?layer=136">136 – Reactions</a></li><li><a href="?layer=137">137 – Translations</a></li><li><a href="?layer=138">138 – GIF Sticker Packs</a></li><li><a href="?layer=139">139 – RTMP streaming</a></li><li><a href="?layer=140">140 – WebApps, Cloud Ringtones</a></li><li><a href="?layer=142">142 – TCP Reflectors</a></li><li><a href="?layer=143">143 – Premium Subscription, Cloud Invoices</a></li><li><a href="?layer=144">144 – Premium as a Gift, Custom Emoji</a></li><li><a href="?layer=145">145 – Custom Reactions, Statuses, Sign In with email</a></li><li><a href="?layer=147">147 – Keywords for stickers and emojis</a></li><li><a href="?layer=148">148 – Forums, collectible usernames</a></li><li><a href="?layer=150">150 – Pinned forum topics, general topic</a></li><li><a href="?layer=151">151 – Media spoilers, suggested profile photos</a></li><li><a href="?layer=152">152 – Real-time translations, Firebase SMS authentication</a></li><li><a href="?layer=153">153 – Modify created stickersets</a></li><li><a href="?layer=155">155 – Dates for reactions</a></li><li><a href="?layer=158">158 – Shared folders, per-chat wallpapers</a></li><li><a href="?layer=159">159 – Anonymous votes</a></li><li><a href="?layer=160">160 – Stories</a></li><li><a href="?layer=164">164 – Stories in Channels</a></li><li><a href="?layer=166">166 – Giveaways in channels</a></li><li><a href="?layer=167">167 – Similar channels</a></li><li><a href="?layer=168">168 – Channel colors</a></li><li><a href="?layer=169">169 – Multiselection of chats for bots</a></li><li><a href="?layer=170">170 – Saved Messages 2.0</a></li><li><a href="?layer=171">171 – Saved Messages 2.0</a></li><li><a href="?layer=174">174 – Group boosts</a></li><li><a href="?layer=176">176 – Business</a></li><li><a href="?layer=177">177 – Business Bots, Birthdays</a></li><li><a href="?layer=178">178 – Saved Personal channel, Reactions notifications</a></li><li><a href="?layer=179">179 – Channel revenue stats, phrases in SMS</a></li><li><a href="?layer=180">180 – Message Effects, Hashtags</a></li><li><a href="?layer=181">181 – Stars</a></li><li><a href="?layer=182">182 – Stars Revenue</a></li><li><a href="?layer=183">183 – Paid posts</a></li><li><a href="?layer=184">184 – Stars Refunds</a></li><li><a href="?layer=185"><strong>185 – MiniApp Store, Star Gifts</strong></a></li>
|
||
<li class="divider"></li>
|
||
<li><a href="/api/layers">More...</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<pre class="page_scheme"><code><a href="/constructor/channelFull" class="current_page_link" >channelFull</a>#bbab348d flags:<a href="/type/%23" >#</a> can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:<a href="/type/%23" >#</a> can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true view_forum_as_messages:flags2.6?true restricted_sponsored:flags2.11?true can_view_revenue:flags2.12?true paid_media_allowed:flags2.14?true can_view_stars_revenue:flags2.15?true id:<a href="/type/long" >long</a> about:<a href="/type/string" >string</a> participants_count:flags.0?<a href="/type/int" >int</a> admins_count:flags.1?<a href="/type/int" >int</a> kicked_count:flags.2?<a href="/type/int" >int</a> banned_count:flags.2?<a href="/type/int" >int</a> online_count:flags.13?<a href="/type/int" >int</a> read_inbox_max_id:<a href="/type/int" >int</a> read_outbox_max_id:<a href="/type/int" >int</a> unread_count:<a href="/type/int" >int</a> chat_photo:<a href="/type/Photo" >Photo</a> notify_settings:<a href="/type/PeerNotifySettings" >PeerNotifySettings</a> exported_invite:flags.23?<a href="/type/ExportedChatInvite" >ExportedChatInvite</a> bot_info:<a href="/type/Vector%20t" >Vector</a><<a href="/type/BotInfo" >BotInfo</a>> migrated_from_chat_id:flags.4?<a href="/type/long" >long</a> migrated_from_max_id:flags.4?<a href="/type/int" >int</a> pinned_msg_id:flags.5?<a href="/type/int" >int</a> stickerset:flags.8?<a href="/type/StickerSet" >StickerSet</a> available_min_id:flags.9?<a href="/type/int" >int</a> folder_id:flags.11?<a href="/type/int" >int</a> linked_chat_id:flags.14?<a href="/type/long" >long</a> location:flags.15?<a href="/type/ChannelLocation" >ChannelLocation</a> slowmode_seconds:flags.17?<a href="/type/int" >int</a> slowmode_next_send_date:flags.18?<a href="/type/int" >int</a> stats_dc:flags.12?<a href="/type/int" >int</a> pts:<a href="/type/int" >int</a> call:flags.21?<a href="/type/InputGroupCall" >InputGroupCall</a> ttl_period:flags.24?<a href="/type/int" >int</a> pending_suggestions:flags.25?<a href="/type/Vector%20t" >Vector</a><<a href="/type/string" >string</a>> groupcall_default_join_as:flags.26?<a href="/type/Peer" >Peer</a> theme_emoticon:flags.27?<a href="/type/string" >string</a> requests_pending:flags.28?<a href="/type/int" >int</a> recent_requesters:flags.28?<a href="/type/Vector%20t" >Vector</a><<a href="/type/long" >long</a>> default_send_as:flags.29?<a href="/type/Peer" >Peer</a> available_reactions:flags.30?<a href="/type/ChatReactions" >ChatReactions</a> reactions_limit:flags2.13?<a href="/type/int" >int</a> stories:flags2.4?<a href="/type/PeerStories" >PeerStories</a> wallpaper:flags2.7?<a href="/type/WallPaper" >WallPaper</a> boosts_applied:flags2.8?<a href="/type/int" >int</a> boosts_unrestrict:flags2.9?<a href="/type/int" >int</a> emojiset:flags2.10?<a href="/type/StickerSet" >StickerSet</a> = <a href="/type/ChatFull" >ChatFull</a>;</code></pre></p>
|
||
<h3><a class="anchor" href="#parameters" id="parameters" name="parameters"><i class="anchor-icon"></i></a>Parameters</h3>
|
||
<table class="table">
|
||
<thead>
|
||
<tr>
|
||
<th>Name</th>
|
||
<th style="text-align: center;">Type</th>
|
||
<th>Description</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr>
|
||
<td><strong>flags</strong></td>
|
||
<td style="text-align: center;"><a href="/type/%23">#</a></td>
|
||
<td>Flags, see <a href="/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>can_view_participants</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/constructor/true">true</a></td>
|
||
<td>Can we view the participant list?</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>can_set_username</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.6?<a href="/constructor/true">true</a></td>
|
||
<td>Can we set the channel's username?</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>can_set_stickers</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.7?<a href="/constructor/true">true</a></td>
|
||
<td>Can we <a href="/method/channels.setStickers">associate</a> a stickerpack to the supergroup?</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>hidden_prehistory</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.10?<a href="/constructor/true">true</a></td>
|
||
<td>Is the history before we joined hidden to us?</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>can_set_location</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.16?<a href="/constructor/true">true</a></td>
|
||
<td>Can we set the geolocation of this group (for geogroups)</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>has_scheduled</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.19?<a href="/constructor/true">true</a></td>
|
||
<td>Whether scheduled messages are available</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>can_view_stats</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.20?<a href="/constructor/true">true</a></td>
|
||
<td>Can the user view <a href="/api/stats">channel/supergroup statistics</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>blocked</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.22?<a href="/constructor/true">true</a></td>
|
||
<td>Whether any anonymous admin of this supergroup was blocked: if set, you won't receive messages from anonymous group admins in <a href="/api/discussion">discussion replies via @replies</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>flags2</strong></td>
|
||
<td style="text-align: center;"><a href="/type/%23">#</a></td>
|
||
<td>Flags, see <a href="/mtproto/TL-combinators#conditional-fields">TL conditional fields</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>can_delete_channel</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.0?<a href="/constructor/true">true</a></td>
|
||
<td>Can we delete this channel?</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>antispam</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.1?<a href="/constructor/true">true</a></td>
|
||
<td>Whether <a href="/api/antispam">native antispam</a> functionality is enabled in this supergroup.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>participants_hidden</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.2?<a href="/constructor/true">true</a></td>
|
||
<td>Whether the participant list is hidden.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>translations_disabled</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.3?<a href="/constructor/true">true</a></td>
|
||
<td>Whether the <a href="/api/translation">real-time chat translation popup</a> should be hidden.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>stories_pinned_available</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.5?<a href="/constructor/true">true</a></td>
|
||
<td>Whether this user has some <a href="/api/stories#pinned-or-archived-stories">pinned stories</a>.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>view_forum_as_messages</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.6?<a href="/constructor/true">true</a></td>
|
||
<td>Users may also choose to display messages from all topics of a <a href="/api/forum">forum</a> as if they were sent to a normal group, using a "View as messages" setting in the local client. <br>This setting only affects the current account, and is synced to other logged in sessions using the <a href="/method/channels.toggleViewForumAsMessages">channels.toggleViewForumAsMessages</a> method; invoking this method will update the value of this flag.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>restricted_sponsored</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.11?<a href="/constructor/true">true</a></td>
|
||
<td>Whether ads on this channel were <a href="/api/boost#disable-ads-on-the-channel">disabled as specified here »</a> (this flag is only visible to the owner of the channel).</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>can_view_revenue</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.12?<a href="/constructor/true">true</a></td>
|
||
<td>If set, this user can view <a href="/api/revenue#revenue-statistics">ad revenue statistics »</a> for this channel.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>paid_media_allowed</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.14?<a href="/constructor/true">true</a></td>
|
||
<td>Whether the current user can send or forward <a href="/api/paid-media">paid media »</a> to this channel.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>can_view_stars_revenue</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.15?<a href="/constructor/true">true</a></td>
|
||
<td>If set, this user can view <a href="/api/stars#revenue-statistics">Telegram Star revenue statistics »</a> for this channel.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>id</strong></td>
|
||
<td style="text-align: center;"><a href="/type/long">long</a></td>
|
||
<td>ID of the channel</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>about</strong></td>
|
||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||
<td>Info about the channel</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>participants_count</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/int">int</a></td>
|
||
<td>Number of participants of the channel</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>admins_count</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/int">int</a></td>
|
||
<td>Number of channel admins</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>kicked_count</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/int">int</a></td>
|
||
<td>Number of users <a href="/api/rights">kicked</a> from the channel</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>banned_count</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/int">int</a></td>
|
||
<td>Number of users <a href="/api/rights">banned</a> from the channel</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>online_count</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.13?<a href="/type/int">int</a></td>
|
||
<td>Number of users currently online</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>read_inbox_max_id</strong></td>
|
||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||
<td>Position up to which all incoming messages are read.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>read_outbox_max_id</strong></td>
|
||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||
<td>Position up to which all outgoing messages are read.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>unread_count</strong></td>
|
||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||
<td>Count of unread messages</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>chat_photo</strong></td>
|
||
<td style="text-align: center;"><a href="/type/Photo">Photo</a></td>
|
||
<td>Channel picture</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>notify_settings</strong></td>
|
||
<td style="text-align: center;"><a href="/type/PeerNotifySettings">PeerNotifySettings</a></td>
|
||
<td>Notification settings</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>exported_invite</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.23?<a href="/type/ExportedChatInvite">ExportedChatInvite</a></td>
|
||
<td>Invite link</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>bot_info</strong></td>
|
||
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a><<a href="/type/BotInfo">BotInfo</a>></td>
|
||
<td>Info about bots in the channel/supergroup</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>migrated_from_chat_id</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.4?<a href="/type/long">long</a></td>
|
||
<td>The chat ID from which this group was <a href="/api/channel">migrated</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>migrated_from_max_id</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.4?<a href="/type/int">int</a></td>
|
||
<td>The message ID in the original chat at which this group was <a href="/api/channel">migrated</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>pinned_msg_id</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.5?<a href="/type/int">int</a></td>
|
||
<td>Message ID of the last <a href="/api/pin">pinned message</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>stickerset</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.8?<a href="/type/StickerSet">StickerSet</a></td>
|
||
<td>Associated stickerset</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>available_min_id</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.9?<a href="/type/int">int</a></td>
|
||
<td>Identifier of a maximum unavailable message in a channel due to hidden history.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>folder_id</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.11?<a href="/type/int">int</a></td>
|
||
<td><a href="/api/folders#peer-folders">Peer folder ID, for more info click here</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>linked_chat_id</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.14?<a href="/type/long">long</a></td>
|
||
<td>ID of the linked <a href="/api/discussion">discussion chat</a> for channels (and vice versa, the ID of the linked channel for discussion chats).</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>location</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.15?<a href="/type/ChannelLocation">ChannelLocation</a></td>
|
||
<td>Location of the geogroup</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>slowmode_seconds</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.17?<a href="/type/int">int</a></td>
|
||
<td>If specified, users in supergroups will only be able to send one message every <code>slowmode_seconds</code> seconds</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>slowmode_next_send_date</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.18?<a href="/type/int">int</a></td>
|
||
<td>Indicates when the user will be allowed to send another message in the supergroup (unixtime)</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>stats_dc</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.12?<a href="/type/int">int</a></td>
|
||
<td>If set, specifies the DC to use for fetching channel statistics</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>pts</strong></td>
|
||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||
<td>Latest <a href="/api/updates">PTS</a> for this channel</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>call</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.21?<a href="/type/InputGroupCall">InputGroupCall</a></td>
|
||
<td>Livestream or group call information</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>ttl_period</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.24?<a href="/type/int">int</a></td>
|
||
<td>Time-To-Live of messages in this channel or supergroup</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>pending_suggestions</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.25?<a href="/type/Vector%20t">Vector</a><<a href="/type/string">string</a>></td>
|
||
<td>A list of <a href="/api/config#suggestions">suggested actions</a> for the supergroup admin, <a href="/api/config#suggestions">see here for more info »</a>.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>groupcall_default_join_as</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.26?<a href="/type/Peer">Peer</a></td>
|
||
<td>When using <a href="/method/phone.getGroupCallJoinAs">phone.getGroupCallJoinAs</a> to get a list of peers that can be used to join a group call, this field indicates the peer that should be selected by default.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>theme_emoticon</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.27?<a href="/type/string">string</a></td>
|
||
<td>Emoji representing a specific chat theme</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>requests_pending</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.28?<a href="/type/int">int</a></td>
|
||
<td>Pending <a href="/api/invites#join-requests">join requests »</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>recent_requesters</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.28?<a href="/type/Vector%20t">Vector</a><<a href="/type/long">long</a>></td>
|
||
<td>IDs of users who requested to join recently</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>default_send_as</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.29?<a href="/type/Peer">Peer</a></td>
|
||
<td>Default peer used for sending messages to this channel</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>available_reactions</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.30?<a href="/type/ChatReactions">ChatReactions</a></td>
|
||
<td>Allowed <a href="/api/reactions">message reactions »</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>reactions_limit</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.13?<a href="/type/int">int</a></td>
|
||
<td>This flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of <a href="/api/config#reactions-uniq-max">appConfig.reactions_uniq_max</a>).</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>stories</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.4?<a href="/type/PeerStories">PeerStories</a></td>
|
||
<td>Channel <a href="/api/stories">stories</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>wallpaper</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.7?<a href="/type/WallPaper">WallPaper</a></td>
|
||
<td><a href="/api/wallpapers">Wallpaper</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>boosts_applied</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.8?<a href="/type/int">int</a></td>
|
||
<td>The number of <a href="/api/boost">boosts</a> the current user has applied to the current <em>supergroup</em>.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>boosts_unrestrict</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.9?<a href="/type/int">int</a></td>
|
||
<td>The number of <a href="/api/boost">boosts</a> this <em>supergroup</em> requires to bypass slowmode and other restrictions, see <a href="/api/boost#bypass-slowmode-and-chat-restrictions">here »</a> for more info.</td>
|
||
</tr>
|
||
<tr>
|
||
<td><strong>emojiset</strong></td>
|
||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.10?<a href="/type/StickerSet">StickerSet</a></td>
|
||
<td><a href="/api/custom-emoji">Custom emoji stickerset</a> associated to the current <em>supergroup</em>, set using <a href="/method/channels.setEmojiStickers">channels.setEmojiStickers</a> after reaching the appropriate boost level, see <a href="/api/boost#setting-a-custom-emoji-stickerset-for-supergroups">here »</a> for more info.</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||
<p><a href="/type/ChatFull">ChatFull</a></p>
|
||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||
<h4><a class="anchor" href="#channelssetstickers" id="channelssetstickers" name="channelssetstickers"><i class="anchor-icon"></i></a><a href="/method/channels.setStickers">channels.setStickers</a></h4>
|
||
<p>Associate a stickerset to the supergroup</p>
|
||
<h4><a class="anchor" href="#channel-statistics" id="channel-statistics" name="channel-statistics"><i class="anchor-icon"></i></a><a href="/api/stats">Channel statistics</a></h4>
|
||
<p>Telegram offers detailed channel statistics for channels and supergroups.</p>
|
||
<h4><a class="anchor" href="#discussion-groups" id="discussion-groups" name="discussion-groups"><i class="anchor-icon"></i></a><a href="/api/discussion">Discussion groups</a></h4>
|
||
<p>Groups can be associated to a channel as a discussion group, to allow users to discuss about posts.</p>
|
||
<h4><a class="anchor" href="#native-antispam-system" id="native-antispam-system" name="native-antispam-system"><i class="anchor-icon"></i></a><a href="/api/antispam">Native antispam system</a></h4>
|
||
<p>Admins of supergroups with a certain number of members can choose to unleash the full proactive power of Telegram's own antispam algorithms – turning on the new Aggressive mode for the automated spam filters.</p>
|
||
<h4><a class="anchor" href="#translation" id="translation" name="translation"><i class="anchor-icon"></i></a><a href="/api/translation">Translation</a></h4>
|
||
<p>Telegram allows translating chat messages: Telegram Premium users may even enable real-time chat translation.</p>
|
||
<h4><a class="anchor" href="#stories" id="stories" name="stories"><i class="anchor-icon"></i></a><a href="/api/stories">Stories</a></h4>
|
||
<p>Telegram users and channels can easily post and view stories through the API.</p>
|
||
<h4><a class="anchor" href="#forums" id="forums" name="forums"><i class="anchor-icon"></i></a><a href="/api/forum">Forums</a></h4>
|
||
<p>Telegram allows creating forums with multiple distinct topics.</p>
|
||
<h4><a class="anchor" href="#channelstoggleviewforumasmessages" id="channelstoggleviewforumasmessages" name="channelstoggleviewforumasmessages"><i class="anchor-icon"></i></a><a href="/method/channels.toggleViewForumAsMessages">channels.toggleViewForumAsMessages</a></h4>
|
||
<p>Users may also choose to display messages from all topics of a <a href="/api/forum">forum</a> as if they were sent to a normal group, using a "View as messages" setting in the local client: this setting only affects the current account, and is synced to other logged in sessions using this method.</p>
|
||
<p>Invoking this method will update the value of the <code>view_forum_as_messages</code> flag of <a href="/constructor/channelFull">channelFull</a> or <a href="/constructor/dialog">dialog</a> and emit an <a href="/constructor/updateChannelViewForumAsMessages">updateChannelViewForumAsMessages</a>.</p>
|
||
<h4><a class="anchor" href="#channel-and-supergroup-boosts" id="channel-and-supergroup-boosts" name="channel-and-supergroup-boosts"><i class="anchor-icon"></i></a><a href="/api/boost">Channel and supergroup boosts</a></h4>
|
||
<p>Telegram Premium users can grant their favorite channels and supergroups additional features like the ability to post stories by giving them boosts.</p>
|
||
<h4><a class="anchor" href="#channel-ad-revenue" id="channel-ad-revenue" name="channel-ad-revenue"><i class="anchor-icon"></i></a><a href="/api/revenue">Channel ad revenue</a></h4>
|
||
<p>Telegram has one of the most generous reward systems in the history of social media. Telegram channel owners can now receive 50% of the revenue from ads displayed in their channels. This page describes the methods used to withdraw channel ad revenue, as well as view detailed revenue stats.</p>
|
||
<h4><a class="anchor" href="#paid-media" id="paid-media" name="paid-media"><i class="anchor-icon"></i></a><a href="/api/paid-media">Paid media</a></h4>
|
||
<p>Content creators can accept <a href="/api/stars">Stars</a> by publishing <strong>paid photos or videos</strong> on their channels. Subscribers will be allowed to view such posts only after paying the author to unlock them.</p>
|
||
<h4><a class="anchor" href="#telegram-stars" id="telegram-stars" name="telegram-stars"><i class="anchor-icon"></i></a><a href="/api/stars">Telegram Stars</a></h4>
|
||
<p>Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.</p>
|
||
<h4><a class="anchor" href="#admin-banned-default-rights" id="admin-banned-default-rights" name="admin-banned-default-rights"><i class="anchor-icon"></i></a><a href="/api/rights">Admin, banned, default rights</a></h4>
|
||
<p>How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.</p>
|
||
<h4><a class="anchor" href="#channels-supergroups-gigagroups-and-basic-groups" id="channels-supergroups-gigagroups-and-basic-groups" name="channels-supergroups-gigagroups-and-basic-groups"><i class="anchor-icon"></i></a><a href="/api/channel">Channels, supergroups, gigagroups and basic groups</a></h4>
|
||
<p>How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.</p>
|
||
<h4><a class="anchor" href="#pinned-messages" id="pinned-messages" name="pinned-messages"><i class="anchor-icon"></i></a><a href="/api/pin">Pinned messages</a></h4>
|
||
<p>Telegram allows pinning multiple messages on top of a specific chat.</p>
|
||
<h4><a class="anchor" href="#folders" id="folders" name="folders"><i class="anchor-icon"></i></a><a href="/api/folders">Folders</a></h4>
|
||
<p>Telegram allows placing chats into folders, based on their type, mute status, or other custom criteria, thanks to folder blacklists and whitelists.</p>
|
||
<h4><a class="anchor" href="#working-with-updates" id="working-with-updates" name="working-with-updates"><i class="anchor-icon"></i></a><a href="/api/updates">Working with Updates</a></h4>
|
||
<p>How to subscribe to updates and handle them properly.</p>
|
||
<h4><a class="anchor" href="#client-configuration" id="client-configuration" name="client-configuration"><i class="anchor-icon"></i></a><a href="/api/config">Client configuration</a></h4>
|
||
<p>The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.</p>
|
||
<h4><a class="anchor" href="#phonegetgroupcalljoinas" id="phonegetgroupcalljoinas" name="phonegetgroupcalljoinas"><i class="anchor-icon"></i></a><a href="/method/phone.getGroupCallJoinAs">phone.getGroupCallJoinAs</a></h4>
|
||
<p>Get a list of peers that can be used to join a group call, presenting yourself as a specific user/channel.</p>
|
||
<h4><a class="anchor" href="#invites" id="invites" name="invites"><i class="anchor-icon"></i></a><a href="/api/invites">Invites</a></h4>
|
||
<p>Chats and channels may have a public username or a private invite link: private invite links may be further enhanced with per-user join requests.</p>
|
||
<h4><a class="anchor" href="#message-reactions" id="message-reactions" name="message-reactions"><i class="anchor-icon"></i></a><a href="/api/reactions">Message reactions</a></h4>
|
||
<p>Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.</p>
|
||
<h4><a class="anchor" href="#wallpapers" id="wallpapers" name="wallpapers"><i class="anchor-icon"></i></a><a href="/api/wallpapers">Wallpapers</a></h4>
|
||
<p>Telegram apps support generating, sharing and synchronizing chat backgrounds.</p>
|
||
<h4><a class="anchor" href="#custom-emojis" id="custom-emojis" name="custom-emojis"><i class="anchor-icon"></i></a><a href="/api/custom-emoji">Custom emojis</a></h4>
|
||
<p>Telegram allows including animated and static custom emojis inside of messages.</p>
|
||
<h4><a class="anchor" href="#channelssetemojistickers" id="channelssetemojistickers" name="channelssetemojistickers"><i class="anchor-icon"></i></a><a href="/method/channels.setEmojiStickers">channels.setEmojiStickers</a></h4>
|
||
<p>Set a <a href="/api/custom-emoji">custom emoji stickerset</a> for supergroups. Only usable after reaching at least the <a href="/api/boost">boost level »</a> specified in the <a href="/api/config#group-emoji-stickers-level-min"><code>group_emoji_stickers_level_min</code> »</a> config parameter.</p>
|
||
<h4><a class="anchor" href="#peer-database" id="peer-database" name="peer-database"><i class="anchor-icon"></i></a><a href="/api/peers">Peer database</a></h4>
|
||
<p>Many constructors in the API need to be stored in a local database upon reception and should only ever be updated reactively (passively) when received via updates or by other means (as specified in the documentation), to avoid overloading the server by continuously requesting changes for the same unchanged information.</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/privacy">Privacy</a></li>
|
||
<li><a href="//telegram.org/press">Press</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/android">Android</a></li>
|
||
<li><a href="//telegram.org/dl/web">Mobile Web</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="//telegram.org/press">Press</a></h5>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<script src="/js/main.js?47"></script>
|
||
|
||
<script>backToTopInit("Go up");
|
||
removePreloadInit();
|
||
</script>
|
||
</body>
|
||
</html>
|
||
|