Update content of files

This commit is contained in:
GitHub Action 2024-07-02 16:46:54 +00:00
parent 70888dc24c
commit f8d539e08e
14 changed files with 83 additions and 124 deletions

View file

@ -323,7 +323,7 @@ invokeWithBusinessConnection#dd289f8e {X:Type} connection_id:string query:!X = X
Bots which may be connected to user accounts have the <a href="/constructor/user">user</a>.<code>bot_business</code> flag set; trying to connect a non-business bot will emit a <code>BOT_BUSINESS_MISSING</code> error. </p>
<p>Use <a href="/method/account.updateConnectedBot">account.updateConnectedBot »</a> to connect a business bot to the current account, or to change the connection settings.<br>
Use <a href="/method/account.updateConnectedBot">account.updateConnectedBot »</a> with the <code>deleted</code> flag set to disconnect a business bot from the current account.<br>
Use <a href="/method/account.getConnectedBots">account.getConnectedBots »</a> list all currently connect business bots. </p>
Use <a href="/method/account.getConnectedBots">account.getConnectedBots »</a> list all currently connected business bots. </p>
<p>Use <a href="/method/account.toggleConnectedBotPaused">account.toggleConnectedBotPaused »</a> to pause or unpause a specific chat, temporarily disconnecting it from all business bots (equivalent to temporarily specifying it in <code>recipients.exclude_users</code> during initial configuration with <a href="/method/account.updateConnectedBot">account.updateConnectedBot »</a>).<br>
Use <a href="/method/account.toggleConnectedBotPaused">account.disablePeerConnectedBot »</a> to permanently disconnect a specific chat from all business bots (equivalent to specifying it in <code>recipients.exclude_users</code> during initial configuration with <a href="/method/account.updateConnectedBot">account.updateConnectedBot »</a>); to reconnect of a chat disconnected using this method the user must reconnect the entire bot by invoking <a href="/method/account.updateConnectedBot">account.updateConnectedBot »</a>. </p>
<p>The above two methods should be invoked when pressing the appropriate buttons in the <a href="/api/action-bar#manage-a-connected-business-bot">action bar, see here »</a> for more info on the business bot action bar that should be displayed on all peers currently managed by the bot, according to the <a href="/api/action-bar#manage-a-connected-business-bot">action bar flags »</a>. </p>

View file

@ -248,12 +248,12 @@
<h5><a class="anchor" href="#new-methods" id="new-methods" name="new-methods"><i class="anchor-icon"></i></a>New Methods</h5>
<ul>
<li>Added <a href="/method/invokeWithBusinessConnection">invokeWithBusinessConnection</a> - </li>
<li>Added <a href="/method/account.getBotBusinessConnection">account.getBotBusinessConnection</a> - </li>
<li>Added <a href="/method/account.getBotBusinessConnection">account.getBotBusinessConnection</a> - Bots may invoke this method to re-fetch the <a href="/constructor/updateBotBusinessConnect">updateBotBusinessConnect</a> constructor associated with a specific <a href="/api/business#connected-bots">business <code>connection_id</code>, see here »</a> for more info on connected business bots. </li>
<li>Added <a href="/method/account.updateBusinessIntro">account.updateBusinessIntro</a> - </li>
<li>Added <a href="/method/stickers.replaceSticker">stickers.replaceSticker</a> - </li>
<li>Added <a href="/method/messages.getMyStickers">messages.getMyStickers</a> - </li>
<li>Added <a href="/method/fragment.getCollectibleInfo">fragment.getCollectibleInfo</a> - </li>
<li>Added <a href="/method/account.toggleConnectedBotPaused">account.toggleConnectedBotPaused</a> - </li>
<li>Added <a href="/method/account.toggleConnectedBotPaused">account.toggleConnectedBotPaused</a> - Pause or unpause a specific chat, temporarily disconnecting it from all <a href="/api/business#connected-bots">business bots »</a>.</li>
<li>Added <a href="/method/account.disablePeerConnectedBot">account.disablePeerConnectedBot</a> - Permanently disconnect a specific chat from all <a href="/api/business#connected-bots">business bots »</a> (equivalent to specifying it in <code>recipients.exclude_users</code> during initial configuration with <a href="/method/account.updateConnectedBot">account.updateConnectedBot »</a>); to reconnect of a chat disconnected using this method the user must reconnect the entire bot by invoking <a href="/method/account.updateConnectedBot">account.updateConnectedBot »</a>.</li>
<li>Added <a href="/method/account.updateBirthday">account.updateBirthday</a> - </li>
<li>Added <a href="/method/contacts.getBirthdays">contacts.getBirthdays</a> - </li>
@ -433,8 +433,8 @@
<li>Added <a href="/method/help.getTimezonesList">help.getTimezonesList</a> - </li>
<li>Added <a href="/method/account.updateBusinessWorkHours">account.updateBusinessWorkHours</a> - Specify a set of <a href="/api/business#opening-hours">Telegram Business opening hours</a>. </li>
<li>Added <a href="/method/account.updateBusinessLocation">account.updateBusinessLocation</a> - <a href="/api/business#location">Businesses »</a> may advertise their location using this method, see <a href="/api/business#location">here »</a> for more info.</li>
<li>Added <a href="/method/account.updateBusinessGreetingMessage">account.updateBusinessGreetingMessage</a> - </li>
<li>Added <a href="/method/account.updateBusinessAwayMessage">account.updateBusinessAwayMessage</a> - </li>
<li>Added <a href="/method/account.updateBusinessGreetingMessage">account.updateBusinessGreetingMessage</a> - Set a list of <a href="/api/business#greeting-messages">Telegram Business greeting messages</a>.</li>
<li>Added <a href="/method/account.updateBusinessAwayMessage">account.updateBusinessAwayMessage</a> - Set a list of <a href="/api/business#away-messages">Telegram Business away messages</a>.</li>
<li>Added <a href="/method/messages.getQuickReplies">messages.getQuickReplies</a> - Fetch basic info about all existing <a href="/api/business#quick-reply-shortcuts">quick reply shortcuts</a>.</li>
<li>Added <a href="/method/messages.reorderQuickReplies">messages.reorderQuickReplies</a> - Reorder <a href="/api/business#quick-reply-shortcuts">quick reply shortcuts</a>.</li>
<li>Added <a href="/method/messages.checkQuickReplyShortcut">messages.checkQuickReplyShortcut</a> - Before offering the user the choice to add a message to a <a href="/api/business#quick-reply-shortcuts">quick reply shortcut</a>, to make sure that none of the limits specified <a href="/api/business#quick-reply-shortcuts">here »</a> were reached.</li>
@ -443,8 +443,8 @@
<li>Added <a href="/method/messages.getQuickReplyMessages">messages.getQuickReplyMessages</a> - </li>
<li>Added <a href="/method/messages.sendQuickReplyMessages">messages.sendQuickReplyMessages</a> - </li>
<li>Added <a href="/method/messages.deleteQuickReplyMessages">messages.deleteQuickReplyMessages</a> - Delete one or more messages from a <a href="/api/business#quick-reply-shortcuts">quick reply shortcut</a>. This will also emit an <a href="/constructor/updateDeleteQuickReplyMessages">updateDeleteQuickReplyMessages</a> update.</li>
<li>Added <a href="/method/account.updateConnectedBot">account.updateConnectedBot</a> - </li>
<li>Added <a href="/method/account.getConnectedBots">account.getConnectedBots</a> - </li>
<li>Added <a href="/method/account.updateConnectedBot">account.updateConnectedBot</a> - Connect a <a href="/api/business#connected-bots">business bot »</a> to the current account, or to change the current connection settings. </li>
<li>Added <a href="/method/account.getConnectedBots">account.getConnectedBots</a> - List all currently connected <a href="/api/business#connected-bots">business bots »</a></li>
<li>Added <a href="/method/messages.toggleDialogFilterTags">messages.toggleDialogFilterTags</a> - </li>
</ul>
<h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>
@ -574,7 +574,7 @@
<li>Added <a href="/method/messages.getOutboxReadDate">messages.getOutboxReadDate</a> - </li>
<li>Added <a href="/method/users.getIsPremiumRequiredToContact">users.getIsPremiumRequiredToContact</a> - Check whether we can write to the specified user (non-<a href="/api/premium">Premium</a> users only).</li>
<li>Added <a href="/method/channels.setBoostsToUnblockRestrictions">channels.setBoostsToUnblockRestrictions</a> - </li>
<li>Added <a href="/method/channels.setEmojiStickers">channels.setEmojiStickers</a> - </li>
<li>Added <a href="/method/channels.setEmojiStickers">channels.setEmojiStickers</a> - 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.</li>
</ul>
<h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>
<ul>

View file

@ -407,7 +407,8 @@
<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="#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></div>
<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></div>
</div>

View file

@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>account.disablePeerConnectedBot</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Permanently disconnect a specific chat from all business bots &amp;raquo; (equivalent to specifying it in recipients.exclude_users during initial configuration with account.updateConnectedBot &amp;raquo;); to reconnect of a chat disconnected using this method the user must reconnect the entire bot by invoking account.updateConnectedBot &amp;raquo;.">
<meta property="description" content="Permanently disconnect a specific chat from all business bots » (equivalent to specifying it in recipients.exclude_users during initial configuration with account.updateConnectedBot »); to reconnect of a chat disconnected using this method the user must reconnect the entire bot by invoking account.updateConnectedBot ».">
<meta property="og:title" content="account.disablePeerConnectedBot">
<meta property="og:image" content="">
<meta property="og:description" content="Permanently disconnect a specific chat from all business bots &amp;raquo; (equivalent to specifying it in recipients.exclude_users during initial configuration with account.updateConnectedBot &amp;raquo;); to reconnect of a chat disconnected using this method the user must reconnect the entire bot by invoking account.updateConnectedBot &amp;raquo;.">
<meta property="og:description" content="Permanently disconnect a specific chat from all business bots » (equivalent to specifying it in recipients.exclude_users during initial configuration with account.updateConnectedBot »); to reconnect of a chat disconnected using this method the user must reconnect the entire bot by invoking account.updateConnectedBot ».">
<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">
@ -98,7 +98,8 @@
<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="#business" id="business" name="business"><i class="anchor-icon"></i></a><a href="/api/business">Business</a></h4>
<p>Users can turn their Telegram account into a business account, gaining access to business features such as opening hours, location, quick replies, automated messages, custom start page, chatbot support, and more.</p>
<h4><a class="anchor" href="#accountupdateconnectedbot" id="accountupdateconnectedbot" name="accountupdateconnectedbot"><i class="anchor-icon"></i></a><a href="/method/account.updateConnectedBot">account.updateConnectedBot</a></h4></div>
<h4><a class="anchor" href="#accountupdateconnectedbot" id="accountupdateconnectedbot" name="accountupdateconnectedbot"><i class="anchor-icon"></i></a><a href="/method/account.updateConnectedBot">account.updateConnectedBot</a></h4>
<p>Connect a <a href="/api/business#connected-bots">business bot »</a> to the current account, or to change the current connection settings.</p></div>
</div>

View file

@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>account.getBotBusinessConnection</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Bots may invoke this method to re-fetch the updateBotBusinessConnect constructor associated with a specific business connection_id">
<meta property="description" content="Bots may invoke this method to re-fetch the updateBotBusinessConnect constructor associated with a specific business connection_id, see here » for more info on connected business bots. This is needed for example for freshly logged in bots that are receiving some updateBotNewBusinessMessage, etc. updates because some users have already connected to the bot before it could login. In this case, the bot is receiving messages from the business connection, but it hasn&#39;t cached the associated updateBotBusinessConnect with info about the connection (can it reply to messages? etc.) yet, and cannot receive the old ones because they were sent when the bot wasn&#39;t logged into the session yet. This method can be used to fetch info about a not-yet-cached business connection, and should not be invoked if the info is already cached or to fetch changes, as eventual changes will automatically be sent as new updateBotBusinessConnect updates to the bot using the usual update delivery methods ».">
<meta property="og:title" content="account.getBotBusinessConnection">
<meta property="og:image" content="">
<meta property="og:description" content="Bots may invoke this method to re-fetch the updateBotBusinessConnect constructor associated with a specific business connection_id">
<meta property="og:description" content="Bots may invoke this method to re-fetch the updateBotBusinessConnect constructor associated with a specific business connection_id, see here » for more info on connected business bots. This is needed for example for freshly logged in bots that are receiving some updateBotNewBusinessMessage, etc. updates because some users have already connected to the bot before it could login. In this case, the bot is receiving messages from the business connection, but it hasn&#39;t cached the associated updateBotBusinessConnect with info about the connection (can it reply to messages? etc.) yet, and cannot receive the old ones because they were sent when the bot wasn&#39;t logged into the session yet. This method can be used to fetch info about a not-yet-cached business connection, and should not be invoked if the info is already cached or to fetch changes, as eventual changes will automatically be sent as new updateBotBusinessConnect updates to the bot using the usual update delivery methods ».">
<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">
@ -103,7 +103,14 @@ This method can be used to fetch info about a not-yet-cached business connection
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
<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="#business" id="business" name="business"><i class="anchor-icon"></i></a><a href="/api/business">Business</a></h4>
<p>Users can turn their Telegram account into a business account, gaining access to business features such as opening hours, location, quick replies, automated messages, custom start page, chatbot support, and more.</p>
<h4><a class="anchor" href="#updatebotbusinessconnect" id="updatebotbusinessconnect" name="updatebotbusinessconnect"><i class="anchor-icon"></i></a><a href="/constructor/updateBotBusinessConnect">updateBotBusinessConnect</a></h4>
<h4><a class="anchor" href="#updatebotnewbusinessmessage" id="updatebotnewbusinessmessage" name="updatebotnewbusinessmessage"><i class="anchor-icon"></i></a><a href="/constructor/updateBotNewBusinessMessage">updateBotNewBusinessMessage</a></h4>
<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></div>
</div>

View file

@ -4,16 +4,10 @@
<meta charset="utf-8">
<title>account.getConnectedBots</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
This constructor does not require any parameters.
Result
account.ConnectedBots">
<meta property="description" content="List all currently connected business bots &amp;raquo;">
<meta property="og:title" content="account.getConnectedBots">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
This constructor does not require any parameters.
Result
account.ConnectedBots">
<meta property="og:description" content="List all currently connected business bots &amp;raquo;">
<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">
@ -48,7 +42,8 @@ account.ConnectedBots">
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/account.getConnectedBots" >account.getConnectedBots</a></li></ul></div>
<h1 id="dev_page_title">account.getConnectedBots</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>List all currently connected <a href="/api/business#connected-bots">business bots »</a></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 181 <b class="caret"></b></a>
@ -66,7 +61,10 @@ account.ConnectedBots">
<h3><a class="anchor" href="#parameters" id="parameters" name="parameters"><i class="anchor-icon"></i></a>Parameters</h3>
<p>This constructor does not require any parameters.</p>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/account.ConnectedBots">account.ConnectedBots</a></p></div>
<p><a href="/type/account.ConnectedBots">account.ConnectedBots</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="#business" id="business" name="business"><i class="anchor-icon"></i></a><a href="/api/business">Business</a></h4>
<p>Users can turn their Telegram account into a business account, gaining access to business features such as opening hours, location, quick replies, automated messages, custom start page, chatbot support, and more.</p></div>
</div>

View file

@ -4,30 +4,10 @@
<meta charset="utf-8">
<title>account.updateBusinessAwayMessage</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
flags
#
Flags, see TL conditional fields
message
flags.0?InputBusinessAwayMessage
 
Result…">
<meta property="description" content="Set a list of Telegram Business away messages.">
<meta property="og:title" content="account.updateBusinessAwayMessage">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
flags
#
Flags, see TL conditional fields
message
flags.0?InputBusinessAwayMessage
 
Result…">
<meta property="og:description" content="Set a list of Telegram Business away messages.">
<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">
@ -62,7 +42,8 @@ Result…">
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/account.updateBusinessAwayMessage" >account.updateBusinessAwayMessage</a></li></ul></div>
<h1 id="dev_page_title">account.updateBusinessAwayMessage</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Set a list of <a href="/api/business#away-messages">Telegram Business away messages</a>.</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 181 <b class="caret"></b></a>
@ -96,12 +77,15 @@ Result…">
<tr>
<td><strong>message</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/InputBusinessAwayMessage">InputBusinessAwayMessage</a></td>
<td> </td>
<td>Away message configuration and contents.</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Bool">Bool</a></p></div>
<p><a href="/type/Bool">Bool</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="#business" id="business" name="business"><i class="anchor-icon"></i></a><a href="/api/business">Business</a></h4>
<p>Users can turn their Telegram account into a business account, gaining access to business features such as opening hours, location, quick replies, automated messages, custom start page, chatbot support, and more.</p></div>
</div>

View file

@ -4,26 +4,10 @@
<meta charset="utf-8">
<title>account.updateBusinessGreetingMessage</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
flags
#
Flags, see TL conditional fields
message
flags.0?InputBusinessGreetingMessage…">
<meta property="description" content="Set a list of Telegram Business greeting messages.">
<meta property="og:title" content="account.updateBusinessGreetingMessage">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
flags
#
Flags, see TL conditional fields
message
flags.0?InputBusinessGreetingMessage…">
<meta property="og:description" content="Set a list of Telegram Business greeting messages.">
<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">
@ -58,7 +42,8 @@ flags.0?InputBusinessGreetingMessage…">
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/account.updateBusinessGreetingMessage" >account.updateBusinessGreetingMessage</a></li></ul></div>
<h1 id="dev_page_title">account.updateBusinessGreetingMessage</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Set a list of <a href="/api/business#greeting-messages">Telegram Business greeting messages</a>.</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 181 <b class="caret"></b></a>
@ -92,12 +77,15 @@ flags.0?InputBusinessGreetingMessage…">
<tr>
<td><strong>message</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/InputBusinessGreetingMessage">InputBusinessGreetingMessage</a></td>
<td> </td>
<td>Greeting message configuration and contents.</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Bool">Bool</a></p></div>
<p><a href="/type/Bool">Bool</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="#business" id="business" name="business"><i class="anchor-icon"></i></a><a href="/api/business">Business</a></h4>
<p>Users can turn their Telegram account into a business account, gaining access to business features such as opening hours, location, quick replies, automated messages, custom start page, chatbot support, and more.</p></div>
</div>

View file

@ -92,7 +92,7 @@
<tr>
<td><strong>play_integrity_token</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/string">string</a></td>
<td> </td>
<td>On Android, an object obtained as described in the <a href="/api/auth">auth documentation »</a></td>
</tr>
<tr>
<td><strong>ios_push_secret</strong></td>

View file

@ -4,38 +4,10 @@
<meta charset="utf-8">
<title>channels.setEmojiStickers</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
channel
InputChannel
 
stickerset
InputStickerSet
 
Result
Bool
Possible errors
Code
Type…">
<meta property="description" content="Set a custom emoji stickerset for supergroups. Only usable after reaching at least the boost level &amp;raquo; specified in the group_emoji_stickers_level_min &amp;raquo; config parameter.">
<meta property="og:title" content="channels.setEmojiStickers">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
channel
InputChannel
 
stickerset
InputStickerSet
 
Result
Bool
Possible errors
Code
Type…">
<meta property="og:description" content="Set a custom emoji stickerset for supergroups. Only usable after reaching at least the boost level &amp;raquo; specified in the group_emoji_stickers_level_min &amp;raquo; config parameter.">
<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">
@ -70,7 +42,8 @@ Type…">
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/channels.setEmojiStickers" >channels.setEmojiStickers</a></li></ul></div>
<h1 id="dev_page_title">channels.setEmojiStickers</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><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>
<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 181 <b class="caret"></b></a>
@ -99,12 +72,12 @@ Type…">
<tr>
<td><strong>channel</strong></td>
<td style="text-align: center;"><a href="/type/InputChannel">InputChannel</a></td>
<td> </td>
<td>The supergroup</td>
</tr>
<tr>
<td><strong>stickerset</strong></td>
<td style="text-align: center;"><a href="/type/InputStickerSet">InputStickerSet</a></td>
<td> </td>
<td>The custom emoji stickerset to associate to the supergroup</td>
</tr>
</tbody>
</table>
@ -126,7 +99,14 @@ Type…">
<td>The provided channel is invalid.</td>
</tr>
</tbody>
</table></div>
</table>
<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="#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="#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="#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></div>
</div>

View file

@ -3186,7 +3186,7 @@ Look for updates of telegram&#39;s terms of service…">
</tr>
<tr>
<td><a href="/method/channels.setEmojiStickers">channels.setEmojiStickers</a></td>
<td> </td>
<td>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.</td>
</tr>
<tr>
<td><a href="/method/smsjobs.isEligibleToJoin">smsjobs.isEligibleToJoin</a></td>
@ -3230,11 +3230,11 @@ Look for updates of telegram&#39;s terms of service…">
</tr>
<tr>
<td><a href="/method/account.updateBusinessGreetingMessage">account.updateBusinessGreetingMessage</a></td>
<td> </td>
<td>Set a list of <a href="/api/business#greeting-messages">Telegram Business greeting messages</a>.</td>
</tr>
<tr>
<td><a href="/method/account.updateBusinessAwayMessage">account.updateBusinessAwayMessage</a></td>
<td> </td>
<td>Set a list of <a href="/api/business#away-messages">Telegram Business away messages</a>.</td>
</tr>
<tr>
<td><a href="/method/messages.getQuickReplies">messages.getQuickReplies</a></td>
@ -3270,11 +3270,11 @@ Look for updates of telegram&#39;s terms of service…">
</tr>
<tr>
<td><a href="/method/account.updateConnectedBot">account.updateConnectedBot</a></td>
<td> </td>
<td>Connect a <a href="/api/business#connected-bots">business bot »</a> to the current account, or to change the current connection settings.</td>
</tr>
<tr>
<td><a href="/method/account.getConnectedBots">account.getConnectedBots</a></td>
<td> </td>
<td>List all currently connected <a href="/api/business#connected-bots">business bots »</a></td>
</tr>
<tr>
<td><a href="/method/messages.toggleDialogFilterTags">messages.toggleDialogFilterTags</a></td>
@ -3286,7 +3286,7 @@ Look for updates of telegram&#39;s terms of service…">
</tr>
<tr>
<td><a href="/method/account.getBotBusinessConnection">account.getBotBusinessConnection</a></td>
<td> </td>
<td>Bots may invoke this method to re-fetch the <a href="/constructor/updateBotBusinessConnect">updateBotBusinessConnect</a> constructor associated with a specific <a href="/api/business#connected-bots">business <code>connection_id</code>, see here »</a> for more info on connected business bots. <br>This is needed for example for freshly logged in bots that are receiving some <a href="/constructor/updateBotNewBusinessMessage">updateBotNewBusinessMessage</a>, etc. updates because some users have already connected to the bot before it could login. <br>In this case, the bot is receiving messages from the business connection, but it hasn't cached the associated <a href="/constructor/updateBotBusinessConnect">updateBotBusinessConnect</a> with info about the connection (can it reply to messages? etc.) yet, and cannot receive the old ones because they were sent when the bot wasn't logged into the session yet. <br>This method can be used to fetch info about a not-yet-cached business connection, and should not be invoked if the info is already cached or to fetch changes, as eventual changes will automatically be sent as new <a href="/constructor/updateBotBusinessConnect">updateBotBusinessConnect</a> updates to the bot using the usual <a href="/api/updates">update delivery methods »</a>.</td>
</tr>
<tr>
<td><a href="/method/account.updateBusinessIntro">account.updateBusinessIntro</a></td>
@ -3306,7 +3306,7 @@ Look for updates of telegram&#39;s terms of service…">
</tr>
<tr>
<td><a href="/method/account.toggleConnectedBotPaused">account.toggleConnectedBotPaused</a></td>
<td> </td>
<td>Pause or unpause a specific chat, temporarily disconnecting it from all <a href="/api/business#connected-bots">business bots »</a>.</td>
</tr>
<tr>
<td><a href="/method/account.disablePeerConnectedBot">account.disablePeerConnectedBot</a></td>

View file

@ -892,7 +892,7 @@
</tr>
<tr>
<td><a href="/method/channels.setEmojiStickers">channels.setEmojiStickers</a></td>
<td> </td>
<td>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.</td>
</tr>
<tr>
<td><a href="/method/smsjobs.join">smsjobs.join</a></td>
@ -920,11 +920,11 @@
</tr>
<tr>
<td><a href="/method/account.updateBusinessGreetingMessage">account.updateBusinessGreetingMessage</a></td>
<td> </td>
<td>Set a list of <a href="/api/business#greeting-messages">Telegram Business greeting messages</a>.</td>
</tr>
<tr>
<td><a href="/method/account.updateBusinessAwayMessage">account.updateBusinessAwayMessage</a></td>
<td> </td>
<td>Set a list of <a href="/api/business#away-messages">Telegram Business away messages</a>.</td>
</tr>
<tr>
<td><a href="/method/messages.reorderQuickReplies">messages.reorderQuickReplies</a></td>
@ -952,7 +952,7 @@
</tr>
<tr>
<td><a href="/method/account.toggleConnectedBotPaused">account.toggleConnectedBotPaused</a></td>
<td> </td>
<td>Pause or unpause a specific chat, temporarily disconnecting it from all <a href="/api/business#connected-bots">business bots »</a>.</td>
</tr>
<tr>
<td><a href="/method/account.disablePeerConnectedBot">account.disablePeerConnectedBot</a></td>

View file

@ -615,11 +615,11 @@
</tr>
<tr>
<td><a href="/method/account.updateConnectedBot">account.updateConnectedBot</a></td>
<td> </td>
<td>Connect a <a href="/api/business#connected-bots">business bot »</a> to the current account, or to change the current connection settings.</td>
</tr>
<tr>
<td><a href="/method/account.getBotBusinessConnection">account.getBotBusinessConnection</a></td>
<td> </td>
<td>Bots may invoke this method to re-fetch the <a href="/constructor/updateBotBusinessConnect">updateBotBusinessConnect</a> constructor associated with a specific <a href="/api/business#connected-bots">business <code>connection_id</code>, see here »</a> for more info on connected business bots. <br>This is needed for example for freshly logged in bots that are receiving some <a href="/constructor/updateBotNewBusinessMessage">updateBotNewBusinessMessage</a>, etc. updates because some users have already connected to the bot before it could login. <br>In this case, the bot is receiving messages from the business connection, but it hasn't cached the associated <a href="/constructor/updateBotBusinessConnect">updateBotBusinessConnect</a> with info about the connection (can it reply to messages? etc.) yet, and cannot receive the old ones because they were sent when the bot wasn't logged into the session yet. <br>This method can be used to fetch info about a not-yet-cached business connection, and should not be invoked if the info is already cached or to fetch changes, as eventual changes will automatically be sent as new <a href="/constructor/updateBotBusinessConnect">updateBotBusinessConnect</a> updates to the bot using the usual <a href="/api/updates">update delivery methods »</a>.</td>
</tr>
<tr>
<td><a href="/method/channels.restrictSponsoredMessages">channels.restrictSponsoredMessages</a></td>

View file

@ -13,7 +13,7 @@ Methods
Method
Description
account.getConnectedBots
 ">
List all…">
<meta property="og:title" content="account.ConnectedBots">
<meta property="og:image" content="">
<meta property="og:description" content="Constructors
@ -25,7 +25,7 @@ Methods
Method
Description
account.getConnectedBots
 ">
List all…">
<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">
@ -103,7 +103,7 @@ account.getConnectedBots
<tbody>
<tr>
<td><a href="/method/account.getConnectedBots">account.getConnectedBots</a></td>
<td> </td>
<td>List all currently connected <a href="/api/business#connected-bots">business bots »</a></td>
</tr>
</tbody>
</table></div>