mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-02-27 07:02:15 +01:00
Update content of files
This commit is contained in:
parent
a87688fce1
commit
950d73f126
63 changed files with 631 additions and 890 deletions
|
@ -387,7 +387,17 @@ This method can be used to fetch info about a not-yet-cached business connection
|
|||
</ul>
|
||||
<p>Make sure to always send queries wrapped in a <code>invokeWithBusinessConnection</code> to the datacenter ID, specified in the <code>dc_id</code> field of the <a href="/constructor/botBusinessConnection">botBusinessConnection</a> that is being used. </p>
|
||||
<p><a href="/method/messages.uploadMedia">messages.uploadMedia</a> may also be used in business connections, <em>not</em> by wrapping it in <a href="/constructor/invokeWithBusinessConnection">invokeWithBusinessConnection »</a>, but rather by specifying the business connection ID in the <code>business_connection_id</code> parameter.</p>
|
||||
<p><a href="/constructor/message">Message</a>s sent by business bots on behalf of the user using this method will have the <code>via_business_connection</code> flag set, indicating that the message was sent by the business bot indicated in <a href="/constructor/message">message</a>.<code>via_bot_id</code>.</p></div>
|
||||
<p><a href="/constructor/message">Message</a>s sent by business bots on behalf of the user using this method will have the <code>via_business_connection</code> flag set, indicating that the message was sent by the business bot indicated in <a href="/constructor/message">message</a>.<code>via_bot_id</code>. </p>
|
||||
<h3><a class="anchor" href="#re-enable-ads" id="re-enable-ads" name="re-enable-ads"><i class="anchor-icon"></i></a>Re-enable ads</h3>
|
||||
<pre><code><a href='/constructor/userFull'>userFull</a>#cc997720 flags:<a href='/type/%23'>#</a> blocked:flags.0?<a href='/constructor/true'>true</a> phone_calls_available:flags.4?<a href='/constructor/true'>true</a> phone_calls_private:flags.5?<a href='/constructor/true'>true</a> can_pin_message:flags.7?<a href='/constructor/true'>true</a> has_scheduled:flags.12?<a href='/constructor/true'>true</a> video_calls_available:flags.13?<a href='/constructor/true'>true</a> voice_messages_forbidden:flags.20?<a href='/constructor/true'>true</a> translations_disabled:flags.23?<a href='/constructor/true'>true</a> stories_pinned_available:flags.26?<a href='/constructor/true'>true</a> blocked_my_stories_from:flags.27?<a href='/constructor/true'>true</a> wallpaper_overridden:flags.28?<a href='/constructor/true'>true</a> contact_require_premium:flags.29?<a href='/constructor/true'>true</a> read_dates_private:flags.30?<a href='/constructor/true'>true</a> flags2:<a href='/type/%23'>#</a> sponsored_enabled:flags2.7?<a href='/constructor/true'>true</a> id:<a href='/type/long'>long</a> about:flags.1?<a href='/type/string'>string</a> settings:<a href='/type/PeerSettings'>PeerSettings</a> personal_photo:flags.21?<a href='/type/Photo'>Photo</a> profile_photo:flags.2?<a href='/type/Photo'>Photo</a> fallback_photo:flags.22?<a href='/type/Photo'>Photo</a> notify_settings:<a href='/type/PeerNotifySettings'>PeerNotifySettings</a> bot_info:flags.3?<a href='/type/BotInfo'>BotInfo</a> pinned_msg_id:flags.6?<a href='/type/int'>int</a> common_chats_count:<a href='/type/int'>int</a> folder_id:flags.11?<a href='/type/int'>int</a> ttl_period:flags.14?<a href='/type/int'>int</a> theme_emoticon:flags.15?<a href='/type/string'>string</a> private_forward_name:flags.16?<a href='/type/string'>string</a> bot_group_admin_rights:flags.17?<a href='/type/ChatAdminRights'>ChatAdminRights</a> bot_broadcast_admin_rights:flags.18?<a href='/type/ChatAdminRights'>ChatAdminRights</a> premium_gifts:flags.19?<a href='/type/Vector%20t'>Vector</a><<a href='/type/PremiumGiftOption'>PremiumGiftOption</a>> wallpaper:flags.24?<a href='/type/WallPaper'>WallPaper</a> stories:flags.25?<a href='/type/PeerStories'>PeerStories</a> business_work_hours:flags2.0?<a href='/type/BusinessWorkHours'>BusinessWorkHours</a> business_location:flags2.1?<a href='/type/BusinessLocation'>BusinessLocation</a> business_greeting_message:flags2.2?<a href='/type/BusinessGreetingMessage'>BusinessGreetingMessage</a> business_away_message:flags2.3?<a href='/type/BusinessAwayMessage'>BusinessAwayMessage</a> business_intro:flags2.4?<a href='/type/BusinessIntro'>BusinessIntro</a> birthday:flags2.5?<a href='/type/Birthday'>Birthday</a> personal_channel_id:flags2.6?<a href='/type/long'>long</a> personal_channel_message:flags2.6?<a href='/type/int'>int</a> = <a href='/type/UserFull'>UserFull</a>;
|
||||
|
||||
---functions---
|
||||
|
||||
<a href='/method/account.toggleSponsoredMessages'>account.toggleSponsoredMessages</a>#b9d9a38d enabled:<a href='/type/Bool'>Bool</a> = <a href='/type/Bool'>Bool</a>;</code></pre>
|
||||
<p>Since Telegram Business is currently included with the <a href="/api/premium">Telegram Premium</a> subscription, and Telegram Premium subscribers do not see <a href="/api/sponsored-messages">sponsored messages in channels</a>. </p>
|
||||
<p>This may be problematic for business owners that may want to launch and view their own Telegram ads via the <a href="https://ads.telegram.org">Telegram ad platform »</a>. </p>
|
||||
<p>For this reason, the Telegram Business settings page should contain a toggle to re-enable Telegram ads for the current account, which should trigger a call to <a href="/method/account.toggleSponsoredMessages">account.toggleSponsoredMessages</a>. </p>
|
||||
<p>The current value of the toggle will be stored in <a href="/constructor/userFull">userFull</a>.<code>sponsored_enabled</code>.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
<ul>
|
||||
<li>Added <a href="/method/invokeWithGooglePlayIntegrity">invokeWithGooglePlayIntegrity</a> - </li>
|
||||
<li>Added <a href="/method/invokeWithApnsSecret">invokeWithApnsSecret</a> - </li>
|
||||
<li>Added <a href="/method/messages.getAvailableEffects">messages.getAvailableEffects</a> - </li>
|
||||
<li>Added <a href="/method/messages.getAvailableEffects">messages.getAvailableEffects</a> - Fetch the full list of usable <a href="/api/effects">animated message effects »</a>.</li>
|
||||
<li>Added <a href="/method/channels.searchPosts">channels.searchPosts</a> - Globally search for posts from public <a href="/api/channel">channels »</a> (<em>including</em> those we aren't a member of) containing a specific hashtag.</li>
|
||||
</ul>
|
||||
<h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>
|
||||
|
@ -173,7 +173,7 @@
|
|||
<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/auth.reportMissingCode">auth.reportMissingCode</a> - </li>
|
||||
<li>Added <a href="/method/messages.getEmojiStickerGroups">messages.getEmojiStickerGroups</a> - </li>
|
||||
<li>Added <a href="/method/messages.getEmojiStickerGroups">messages.getEmojiStickerGroups</a> - Represents a list of <a href="/api/emoji-categories">emoji categories</a>, to be used when choosing a sticker.</li>
|
||||
</ul>
|
||||
<h5><a class="anchor" href="#new-constructors" id="new-constructors" name="new-constructors"><i class="anchor-icon"></i></a>New Constructors</h5>
|
||||
<ul>
|
||||
|
@ -205,7 +205,7 @@
|
|||
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
|
||||
<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/account.toggleSponsoredMessages">account.toggleSponsoredMessages</a> - </li>
|
||||
<li>Added <a href="/method/account.toggleSponsoredMessages">account.toggleSponsoredMessages</a> - Disable or re-enable Telegram ads for the current <a href="/api/premium">Premium</a> account.</li>
|
||||
<li>Added <a href="/method/stories.togglePinnedToTop">stories.togglePinnedToTop</a> - Pin some stories to the top of the profile, see <a href="/api/stories#pinned-or-archived-stories">here »</a> for more info.</li>
|
||||
<li>Added <a href="/method/account.getReactionsNotifySettings">account.getReactionsNotifySettings</a> - Get the current <a href="/api/reactions#notifications-about-reactions">reaction notification settings »</a>.</li>
|
||||
<li>Added <a href="/method/account.setReactionsNotifySettings">account.setReactionsNotifySettings</a> - Change the <a href="/api/reactions#notifications-about-reactions">reaction notification settings »</a>.</li>
|
||||
|
@ -276,10 +276,10 @@
|
|||
<li>Added <a href="/method/account.resolveBusinessChatLink">account.resolveBusinessChatLink</a> - Resolve a <a href="/api/business#business-chat-links">business chat deep link »</a>.</li>
|
||||
<li>Added <a href="/method/account.updatePersonalChannel">account.updatePersonalChannel</a> - Associate (or remove) a personal <a href="/api/channel">channel »</a>, that will be listed on our personal <a href="/api/profile#personal-channel">profile page »</a>.</li>
|
||||
<li>Added <a href="/method/channels.reportSponsoredMessage">channels.reportSponsoredMessage</a> - </li>
|
||||
<li>Added <a href="/method/stats.getBroadcastRevenueStats">stats.getBroadcastRevenueStats</a> - </li>
|
||||
<li>Added <a href="/method/stats.getBroadcastRevenueWithdrawalUrl">stats.getBroadcastRevenueWithdrawalUrl</a> - </li>
|
||||
<li>Added <a href="/method/stats.getBroadcastRevenueTransactions">stats.getBroadcastRevenueTransactions</a> - </li>
|
||||
<li>Added <a href="/method/channels.restrictSponsoredMessages">channels.restrictSponsoredMessages</a> - </li>
|
||||
<li>Added <a href="/method/stats.getBroadcastRevenueStats">stats.getBroadcastRevenueStats</a> - Get <a href="/api/revenue">channel ad revenue statistics »</a>.</li>
|
||||
<li>Added <a href="/method/stats.getBroadcastRevenueWithdrawalUrl">stats.getBroadcastRevenueWithdrawalUrl</a> - Withdraw funds from a channel's <a href="/api/revenue">ad revenue balance »</a>.</li>
|
||||
<li>Added <a href="/method/stats.getBroadcastRevenueTransactions">stats.getBroadcastRevenueTransactions</a> - Fetch <a href="/api/revenue">channel ad revenue transaction history »</a>.</li>
|
||||
<li>Added <a href="/method/channels.restrictSponsoredMessages">channels.restrictSponsoredMessages</a> - Reduce ads on the specified channel, for all users.</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>
|
||||
|
|
|
@ -47,6 +47,26 @@
|
|||
<p>Mini app developers and content creators can use the Telegram Stars they've earned to <a href="https://telegram.org/blog/mini-app-bar-paid-media-and-more#rewards-for-content-creators-and-developers">receive rewards in Toncoin</a> – or buy <strong>Telegram Ads</strong> at <a href="https://telegram.org/blog/mini-app-bar-paid-media-and-more#subsidized-ads-for-creators-and-developers">special discounted rates</a>.</p>
|
||||
<p>This page describes the methods used to buy and withdraw Telegram Stars, as well as view detailed revenue stats. </p>
|
||||
<h3><a class="anchor" href="#buying-telegram-stars" id="buying-telegram-stars" name="buying-telegram-stars"><i class="anchor-icon"></i></a>Buying Telegram Stars</h3>
|
||||
<pre><code><a href='/constructor/starsTopupOption'>starsTopupOption</a>#bd915c0 flags:<a href='/type/%23'>#</a> extended:flags.1?<a href='/constructor/true'>true</a> stars:<a href='/type/long'>long</a> store_product:flags.0?<a href='/type/string'>string</a> currency:<a href='/type/string'>string</a> amount:<a href='/type/long'>long</a> = <a href='/type/StarsTopupOption'>StarsTopupOption</a>;
|
||||
|
||||
<a href='/constructor/starsTransaction'>starsTransaction</a>#cc7079b2 flags:<a href='/type/%23'>#</a> refund:flags.3?<a href='/constructor/true'>true</a> id:<a href='/type/string'>string</a> stars:<a href='/type/long'>long</a> date:<a href='/type/int'>int</a> peer:<a href='/type/StarsTransactionPeer'>StarsTransactionPeer</a> title:flags.0?<a href='/type/string'>string</a> description:flags.1?<a href='/type/string'>string</a> photo:flags.2?<a href='/type/WebDocument'>WebDocument</a> = <a href='/type/StarsTransaction'>StarsTransaction</a>;
|
||||
|
||||
<a href='/constructor/payments.starsStatus'>payments.starsStatus</a>#8cf4ee60 flags:<a href='/type/%23'>#</a> balance:<a href='/type/long'>long</a> history:<a href='/type/Vector%20t'>Vector</a><<a href='/type/StarsTransaction'>StarsTransaction</a>> next_offset:flags.0?<a href='/type/string'>string</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/payments.StarsStatus'>payments.StarsStatus</a>;
|
||||
|
||||
<a href='/constructor/updateStarsBalance'>updateStarsBalance</a>#fb85198 balance:<a href='/type/long'>long</a> = <a href='/type/Update'>Update</a>;
|
||||
|
||||
<a href='/constructor/inputStorePaymentStars'>inputStorePaymentStars</a>#4f0ee8df flags:<a href='/type/%23'>#</a> stars:<a href='/type/long'>long</a> currency:<a href='/type/string'>string</a> amount:<a href='/type/long'>long</a> = <a href='/type/InputStorePaymentPurpose'>InputStorePaymentPurpose</a>;
|
||||
inputInvoicePremiumStars purpose:InputStorePaymentPurpose option:StarsTopupOption = InputInvoice;
|
||||
|
||||
|
||||
---functions---
|
||||
|
||||
<a href='/method/payments.getStarsTopupOptions'>payments.getStarsTopupOptions</a>#c00ec7d3 = <a href='/type/Vector%20t'>Vector</a><<a href='/type/StarsTopupOption'>StarsTopupOption</a>>;
|
||||
|
||||
<a href='/method/payments.getStarsStatus'>payments.getStarsStatus</a>#104fcfa7 peer:<a href='/type/InputPeer'>InputPeer</a> = <a href='/type/payments.StarsStatus'>payments.StarsStatus</a>;
|
||||
|
||||
<a href='/method/payments.getStarsTransactions'>payments.getStarsTransactions</a>#673ac2f9 flags:<a href='/type/%23'>#</a> inbound:flags.0?<a href='/constructor/true'>true</a> outbound:flags.1?<a href='/constructor/true'>true</a> peer:<a href='/type/InputPeer'>InputPeer</a> offset:<a href='/type/string'>string</a> = <a href='/type/payments.StarsStatus'>payments.StarsStatus</a>;</code></pre>
|
||||
<p>There is also a store-based subscription flow based on <a href="/method/payments.assignAppStoreTransaction">payments.assignAppStoreTransaction</a>/<a href="/method/payments.assignPlayMarketTransaction">payments.assignPlayMarketTransaction</a>, but it's currently not available to third-party apps (unlike the flow described above, which can be used by all clients).</p>
|
||||
<h3><a class="anchor" href="#using-telegram-stars" id="using-telegram-stars" name="using-telegram-stars"><i class="anchor-icon"></i></a>Using Telegram Stars</h3></div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -4,26 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>account.toggleSponsoredMessages</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
enabled
|
||||
Bool
|
||||
|
||||
Result
|
||||
Bool">
|
||||
<meta property="description" content="Disable or re-enable Telegram ads for the current Premium account. Useful for business owners that may want to launch and view their own Telegram ads via the Telegram ad platform ».">
|
||||
<meta property="og:title" content="account.toggleSponsoredMessages">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
enabled
|
||||
Bool
|
||||
|
||||
Result
|
||||
Bool">
|
||||
<meta property="og:description" content="Disable or re-enable Telegram ads for the current Premium account. Useful for business owners that may want to launch and view their own Telegram ads via the Telegram ad platform ».">
|
||||
<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,9 @@ Bool">
|
|||
<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.toggleSponsoredMessages" >account.toggleSponsoredMessages</a></li></ul></div>
|
||||
<h1 id="dev_page_title">account.toggleSponsoredMessages</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Disable or re-enable Telegram ads for the current <a href="/api/premium">Premium</a> account.</p>
|
||||
<p>Useful for business owners that may want to launch and view their own Telegram ads via the <a href="https://ads.telegram.org">Telegram ad platform »</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>
|
||||
|
@ -87,12 +73,15 @@ Bool">
|
|||
<tr>
|
||||
<td><strong>enabled</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/Bool">Bool</a></td>
|
||||
<td> </td>
|
||||
<td>Enable or disable ads.</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="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4>
|
||||
<p>Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,12 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>channels.restrictSponsoredMessages</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Reduce ads on the specified channel, for all users.
|
||||
Available only after reaching at least the boost level » specified in…">
|
||||
<meta property="description" content="Reduce ads on the specified channel, for all users. Available only after reaching at least the boost level » specified in the channel_restrict_sponsored_level_min » config parameter.">
|
||||
<meta property="og:title" content="channels.restrictSponsoredMessages">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Reduce ads on the specified channel, for all users.
|
||||
Available only after reaching at least the boost level » specified in…">
|
||||
<meta property="og:description" content="Reduce ads on the specified channel, for all users. Available only after reaching at least the boost level » specified in the channel_restrict_sponsored_level_min » 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">
|
||||
|
@ -44,7 +42,7 @@ Available only after reaching at least the boost level » specified in…">
|
|||
<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.restrictSponsoredMessages" >channels.restrictSponsoredMessages</a></li></ul></div>
|
||||
<h1 id="dev_page_title">channels.restrictSponsoredMessages</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Reduce ads on the specified channel, for all users. </p>
|
||||
<div id="dev_page_content"><p>Reduce ads on the specified channel, for all users.</p>
|
||||
<p>Available only after reaching at least the <a href="/api/boost">boost level »</a> specified in the <a href="/api/config#channel-restrict-sponsored-level-min"><code>channel_restrict_sponsored_level_min</code> »</a> config parameter.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
|
@ -107,7 +105,12 @@ Available only after reaching at least the boost level » specified in…">
|
|||
<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="#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>
|
||||
|
||||
|
|
|
@ -4,24 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messages.getAvailableEffects</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
hash
|
||||
int
|
||||
Hash for pagination, for more info click here.
|
||||
Note: the usual hash generation…">
|
||||
<meta property="description" content="Fetch the full list of usable animated message effects ».">
|
||||
<meta property="og:title" content="messages.getAvailableEffects">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
hash
|
||||
int
|
||||
Hash for pagination, for more info click here.
|
||||
Note: the usual hash generation…">
|
||||
<meta property="og:description" content="Fetch the full list of usable animated message effects ».">
|
||||
<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">
|
||||
|
@ -56,7 +42,8 @@ Note: the usual hash generation…">
|
|||
<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/messages.getAvailableEffects" >messages.getAvailableEffects</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.getAvailableEffects</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Fetch the full list of usable <a href="/api/effects">animated message effects »</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>
|
||||
|
@ -94,7 +81,9 @@ Note: the usual hash generation…">
|
|||
<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="#pagination-in-the-api" id="pagination-in-the-api" name="pagination-in-the-api"><i class="anchor-icon"></i></a><a href="/api/offsets">Pagination in the API</a></h4>
|
||||
<p>How to fetch results from large lists of objects.</p>
|
||||
<h4><a class="anchor" href="#messagesavailableeffects" id="messagesavailableeffects" name="messagesavailableeffects"><i class="anchor-icon"></i></a><a href="/constructor/messages.availableEffects">messages.availableEffects</a></h4></div>
|
||||
<h4><a class="anchor" href="#messagesavailableeffects" id="messagesavailableeffects" name="messagesavailableeffects"><i class="anchor-icon"></i></a><a href="/constructor/messages.availableEffects">messages.availableEffects</a></h4>
|
||||
<h4><a class="anchor" href="#animated-message-effects" id="animated-message-effects" name="animated-message-effects"><i class="anchor-icon"></i></a><a href="/api/effects">Animated message effects</a></h4>
|
||||
<p>Telegram allows adding spectacular <strong>animated effects</strong> to messages you send.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messages.getEmojiGroups</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Represents a list of emoji categories, to be used when selecting custom emojis.">
|
||||
<meta property="description" content="Represents a list of emoji categories.">
|
||||
<meta property="og:title" content="messages.getEmojiGroups">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Represents a list of emoji categories, to be used when selecting custom emojis.">
|
||||
<meta property="og:description" content="Represents a list of emoji categories.">
|
||||
<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">
|
||||
|
@ -42,7 +42,7 @@
|
|||
<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/messages.getEmojiGroups" >messages.getEmojiGroups</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.getEmojiGroups</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>, to be used when selecting <a href="/api/custom-emoji">custom emojis</a>.</p>
|
||||
<div id="dev_page_content"><p>Represents a list of <a href="/api/emoji-categories">emoji categories</a>.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -83,9 +83,9 @@
|
|||
<h4><a class="anchor" href="#pagination-in-the-api" id="pagination-in-the-api" name="pagination-in-the-api"><i class="anchor-icon"></i></a><a href="/api/offsets">Pagination in the API</a></h4>
|
||||
<p>How to fetch results from large lists of objects.</p>
|
||||
<h4><a class="anchor" href="#messagesemojigroups" id="messagesemojigroups" name="messagesemojigroups"><i class="anchor-icon"></i></a><a href="/constructor/messages.emojiGroups">messages.emojiGroups</a></h4>
|
||||
<p>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>.</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></div>
|
||||
<p>Represents a list of <a href="/api/emoji-categories">emoji categories</a>.</p>
|
||||
<h4><a class="anchor" href="#emoji-categories" id="emoji-categories" name="emoji-categories"><i class="anchor-icon"></i></a><a href="/api/emoji-categories">Emoji categories</a></h4>
|
||||
<p>Sticker, custom emoji and GIF selection UIs should offer a list of categories to quickly filter results by a (list of) emojis, or by some other criteria.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<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/messages.getEmojiProfilePhotoGroups" >messages.getEmojiProfilePhotoGroups</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.getEmojiProfilePhotoGroups</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="/api/files#sticker-profile-pictures">profile picture</a>.</p>
|
||||
<div id="dev_page_content"><p>Represents a list of <a href="/api/emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="/api/files#sticker-profile-pictures">profile picture</a>.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -83,9 +83,9 @@
|
|||
<h4><a class="anchor" href="#pagination-in-the-api" id="pagination-in-the-api" name="pagination-in-the-api"><i class="anchor-icon"></i></a><a href="/api/offsets">Pagination in the API</a></h4>
|
||||
<p>How to fetch results from large lists of objects.</p>
|
||||
<h4><a class="anchor" href="#messagesemojigroups" id="messagesemojigroups" name="messagesemojigroups"><i class="anchor-icon"></i></a><a href="/constructor/messages.emojiGroups">messages.emojiGroups</a></h4>
|
||||
<p>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>.</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>
|
||||
<p>Represents a list of <a href="/api/emoji-categories">emoji categories</a>.</p>
|
||||
<h4><a class="anchor" href="#emoji-categories" id="emoji-categories" name="emoji-categories"><i class="anchor-icon"></i></a><a href="/api/emoji-categories">Emoji categories</a></h4>
|
||||
<p>Sticker, custom emoji and GIF selection UIs should offer a list of categories to quickly filter results by a (list of) emojis, or by some other criteria.</p>
|
||||
<h4><a class="anchor" href="#uploading-and-downloading-files" id="uploading-and-downloading-files" name="uploading-and-downloading-files"><i class="anchor-icon"></i></a><a href="/api/files">Uploading and Downloading Files</a></h4>
|
||||
<p>How to transfer large data batches correctly.</p></div>
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<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/messages.getEmojiStatusGroups" >messages.getEmojiStatusGroups</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.getEmojiStatusGroups</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="/api">custom emoji status</a>.</p>
|
||||
<div id="dev_page_content"><p>Represents a list of <a href="/api/emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="/api">custom emoji status</a>.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -83,9 +83,9 @@
|
|||
<h4><a class="anchor" href="#pagination-in-the-api" id="pagination-in-the-api" name="pagination-in-the-api"><i class="anchor-icon"></i></a><a href="/api/offsets">Pagination in the API</a></h4>
|
||||
<p>How to fetch results from large lists of objects.</p>
|
||||
<h4><a class="anchor" href="#messagesemojigroups" id="messagesemojigroups" name="messagesemojigroups"><i class="anchor-icon"></i></a><a href="/constructor/messages.emojiGroups">messages.emojiGroups</a></h4>
|
||||
<p>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>.</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>
|
||||
<p>Represents a list of <a href="/api/emoji-categories">emoji categories</a>.</p>
|
||||
<h4><a class="anchor" href="#emoji-categories" id="emoji-categories" name="emoji-categories"><i class="anchor-icon"></i></a><a href="/api/emoji-categories">Emoji categories</a></h4>
|
||||
<p>Sticker, custom emoji and GIF selection UIs should offer a list of categories to quickly filter results by a (list of) emojis, or by some other criteria.</p>
|
||||
<h4><a class="anchor" href="#telegram-apis" id="telegram-apis" name="telegram-apis"><i class="anchor-icon"></i></a><a href="/api">Telegram APIs</a></h4></div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -4,24 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messages.getEmojiStickerGroups</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
hash
|
||||
int
|
||||
Hash for pagination, for more info click here.
|
||||
Note: the usual hash generation…">
|
||||
<meta property="description" content="Represents a list of emoji categories, to be used when choosing a sticker.">
|
||||
<meta property="og:title" content="messages.getEmojiStickerGroups">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
hash
|
||||
int
|
||||
Hash for pagination, for more info click here.
|
||||
Note: the usual hash generation…">
|
||||
<meta property="og:description" content="Represents a list of emoji categories, to be used when choosing a sticker.">
|
||||
<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">
|
||||
|
@ -56,7 +42,8 @@ Note: the usual hash generation…">
|
|||
<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/messages.getEmojiStickerGroups" >messages.getEmojiStickerGroups</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.getEmojiStickerGroups</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Represents a list of <a href="/api/emoji-categories">emoji categories</a>, to be used when choosing a sticker.</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>
|
||||
|
@ -95,7 +82,9 @@ Note: the usual hash generation…">
|
|||
<h4><a class="anchor" href="#pagination-in-the-api" id="pagination-in-the-api" name="pagination-in-the-api"><i class="anchor-icon"></i></a><a href="/api/offsets">Pagination in the API</a></h4>
|
||||
<p>How to fetch results from large lists of objects.</p>
|
||||
<h4><a class="anchor" href="#messagesemojigroups" id="messagesemojigroups" name="messagesemojigroups"><i class="anchor-icon"></i></a><a href="/constructor/messages.emojiGroups">messages.emojiGroups</a></h4>
|
||||
<p>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>.</p></div>
|
||||
<p>Represents a list of <a href="/api/emoji-categories">emoji categories</a>.</p>
|
||||
<h4><a class="anchor" href="#emoji-categories" id="emoji-categories" name="emoji-categories"><i class="anchor-icon"></i></a><a href="/api/emoji-categories">Emoji categories</a></h4>
|
||||
<p>Sticker, custom emoji and GIF selection UIs should offer a list of categories to quickly filter results by a (list of) emojis, or by some other criteria.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -162,7 +162,7 @@
|
|||
<tr>
|
||||
<td><strong>effect</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.18?<a href="/type/long">long</a></td>
|
||||
<td> </td>
|
||||
<td>Specifies a <a href="/api/effects">message effect »</a> to use for the message.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -600,6 +600,8 @@
|
|||
<p>Telegram allows scheduling messages</p>
|
||||
<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 pages, chatbot support, and more.</p>
|
||||
<h4><a class="anchor" href="#animated-message-effects" id="animated-message-effects" name="animated-message-effects"><i class="anchor-icon"></i></a><a href="/api/effects">Animated message effects</a></h4>
|
||||
<p>Telegram allows adding spectacular <strong>animated effects</strong> to messages you send.</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="#file-references" id="file-references" name="file-references"><i class="anchor-icon"></i></a><a href="/api/file_reference">File references</a></h4>
|
||||
|
|
|
@ -162,7 +162,7 @@
|
|||
<tr>
|
||||
<td><strong>effect</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.18?<a href="/type/long">long</a></td>
|
||||
<td> </td>
|
||||
<td>Specifies a <a href="/api/effects">message effect »</a> to use for the message.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -455,6 +455,8 @@
|
|||
<p>Telegram allows scheduling messages</p>
|
||||
<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 pages, chatbot support, and more.</p>
|
||||
<h4><a class="anchor" href="#animated-message-effects" id="animated-message-effects" name="animated-message-effects"><i class="anchor-icon"></i></a><a href="/api/effects">Animated message effects</a></h4>
|
||||
<p>Telegram allows adding spectacular <strong>animated effects</strong> to messages you send.</p>
|
||||
<h4><a class="anchor" href="#inputkeyboardbuttonuserprofile" id="inputkeyboardbuttonuserprofile" name="inputkeyboardbuttonuserprofile"><i class="anchor-icon"></i></a><a href="/constructor/inputKeyboardButtonUserProfile">inputKeyboardButtonUserProfile</a></h4>
|
||||
<p>Button that links directly to a user profile</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>
|
||||
|
|
|
@ -142,7 +142,7 @@
|
|||
<tr>
|
||||
<td><strong>effect</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.18?<a href="/type/long">long</a></td>
|
||||
<td> </td>
|
||||
<td>Specifies a <a href="/api/effects">message effect »</a> to use for the message.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -285,6 +285,8 @@
|
|||
<p>Upload a file and associate it to a chat (without actually sending it to the chat)</p>
|
||||
<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 pages, chatbot support, and more.</p>
|
||||
<h4><a class="anchor" href="#animated-message-effects" id="animated-message-effects" name="animated-message-effects"><i class="anchor-icon"></i></a><a href="/api/effects">Animated message effects</a></h4>
|
||||
<p>Telegram allows adding spectacular <strong>animated effects</strong> to messages you send.</p>
|
||||
<h4><a class="anchor" href="#uploading-and-downloading-files" id="uploading-and-downloading-files" name="uploading-and-downloading-files"><i class="anchor-icon"></i></a><a href="/api/files">Uploading and Downloading Files</a></h4>
|
||||
<p>How to transfer large data batches correctly.</p>
|
||||
<h4><a class="anchor" href="#styled-text-with-message-entities" id="styled-text-with-message-entities" name="styled-text-with-message-entities"><i class="anchor-icon"></i></a><a href="/api/entities">Styled text with message entities</a></h4>
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
<tr>
|
||||
<td><strong>job_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Job ID</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -4,36 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>stats.getBroadcastRevenueStats</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
|
||||
dark
|
||||
flags.0?true
|
||||
|
||||
channel
|
||||
InputChannel
|
||||
|
||||
Result…">
|
||||
<meta property="description" content="Get channel ad revenue statistics ».">
|
||||
<meta property="og:title" content="stats.getBroadcastRevenueStats">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
flags
|
||||
#
|
||||
Flags, see TL conditional fields
|
||||
dark
|
||||
flags.0?true
|
||||
|
||||
channel
|
||||
InputChannel
|
||||
|
||||
Result…">
|
||||
<meta property="og:description" content="Get channel ad revenue statistics ».">
|
||||
<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">
|
||||
|
@ -68,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/stats.getBroadcastRevenueStats" >stats.getBroadcastRevenueStats</a></li></ul></div>
|
||||
<h1 id="dev_page_title">stats.getBroadcastRevenueStats</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Get <a href="/api/revenue">channel ad revenue statistics »</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>
|
||||
|
@ -101,12 +76,12 @@ Result…">
|
|||
<tr>
|
||||
<td><strong>dark</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/constructor/true">true</a></td>
|
||||
<td> </td>
|
||||
<td>Whether to enable dark theme for graph colors</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>channel</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/InputChannel">InputChannel</a></td>
|
||||
<td> </td>
|
||||
<td>The channel</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -128,7 +103,11 @@ Result…">
|
|||
<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="#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 <strong>most generous reward systems</strong> in the history of social media. Telegram channel owners can now receive <strong>50%</strong> of the revenue from ads displayed in their channels.</p>
|
||||
<p>This page describes the methods used to withdraw channel ad revenue, as well as view detailed revenue stats.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,34 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>stats.getBroadcastRevenueTransactions</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
channel
|
||||
InputChannel
|
||||
|
||||
offset
|
||||
int
|
||||
|
||||
limit
|
||||
int
|
||||
Maximum number of results to return, see…">
|
||||
<meta property="description" content="Fetch channel ad revenue transaction history ».">
|
||||
<meta property="og:title" content="stats.getBroadcastRevenueTransactions">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
channel
|
||||
InputChannel
|
||||
|
||||
offset
|
||||
int
|
||||
|
||||
limit
|
||||
int
|
||||
Maximum number of results to return, see…">
|
||||
<meta property="og:description" content="Fetch channel ad revenue transaction history ».">
|
||||
<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">
|
||||
|
@ -66,7 +42,8 @@ Maximum number of results to return, see…">
|
|||
<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/stats.getBroadcastRevenueTransactions" >stats.getBroadcastRevenueTransactions</a></li></ul></div>
|
||||
<h1 id="dev_page_title">stats.getBroadcastRevenueTransactions</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Fetch <a href="/api/revenue">channel ad revenue transaction history »</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>
|
||||
|
@ -94,12 +71,12 @@ Maximum number of results to return, see…">
|
|||
<tr>
|
||||
<td><strong>channel</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/InputChannel">InputChannel</a></td>
|
||||
<td> </td>
|
||||
<td>The channel</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>offset</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td> </td>
|
||||
<td><a href="/api/offsets">Offset for pagination</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>limit</strong></td>
|
||||
|
@ -129,7 +106,10 @@ Maximum number of results to return, see…">
|
|||
</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="#pagination-in-the-api" id="pagination-in-the-api" name="pagination-in-the-api"><i class="anchor-icon"></i></a><a href="/api/offsets">Pagination in the API</a></h4>
|
||||
<p>How to fetch results from large lists of objects.</p></div>
|
||||
<p>How to fetch results from large lists of objects.</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 <strong>most generous reward systems</strong> in the history of social media. Telegram channel owners can now receive <strong>50%</strong> of the revenue from ads displayed in their channels.</p>
|
||||
<p>This page describes the methods used to withdraw channel ad revenue, as well as view detailed revenue stats.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,32 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>stats.getBroadcastRevenueWithdrawalUrl</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
channel
|
||||
InputChannel
|
||||
|
||||
password
|
||||
InputCheckPasswordSRP
|
||||
|
||||
Result
|
||||
stats.BroadcastRevenueWithdrawalUrl…">
|
||||
<meta property="description" content="Withdraw funds from a channel's ad revenue balance ».">
|
||||
<meta property="og:title" content="stats.getBroadcastRevenueWithdrawalUrl">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
channel
|
||||
InputChannel
|
||||
|
||||
password
|
||||
InputCheckPasswordSRP
|
||||
|
||||
Result
|
||||
stats.BroadcastRevenueWithdrawalUrl…">
|
||||
<meta property="og:description" content="Withdraw funds from a channel's ad revenue balance ».">
|
||||
<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">
|
||||
|
@ -64,7 +42,8 @@ stats.BroadcastRevenueWithdrawalUrl…">
|
|||
<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/stats.getBroadcastRevenueWithdrawalUrl" >stats.getBroadcastRevenueWithdrawalUrl</a></li></ul></div>
|
||||
<h1 id="dev_page_title">stats.getBroadcastRevenueWithdrawalUrl</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Withdraw funds from a channel's <a href="/api/revenue">ad revenue balance »</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 +71,12 @@ stats.BroadcastRevenueWithdrawalUrl…">
|
|||
<tr>
|
||||
<td><strong>channel</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/InputChannel">InputChannel</a></td>
|
||||
<td> </td>
|
||||
<td>The channel</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>password</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/InputCheckPasswordSRP">InputCheckPasswordSRP</a></td>
|
||||
<td> </td>
|
||||
<td>2FA password, see <a href="/api/srp#using-the-2fa-password">here »</a> for more info.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -119,7 +98,13 @@ stats.BroadcastRevenueWithdrawalUrl…">
|
|||
<td>The provided password hash 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="#two-factor-authentication" id="two-factor-authentication" name="two-factor-authentication"><i class="anchor-icon"></i></a><a href="/api/srp">Two-factor authentication</a></h4>
|
||||
<p>How to login to a user's account if they have enabled 2FA, how to change password.</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 <strong>most generous reward systems</strong> in the history of social media. Telegram channel owners can now receive <strong>50%</strong> of the revenue from ads displayed in their channels.</p>
|
||||
<p>This page describes the methods used to withdraw channel ad revenue, as well as view detailed revenue stats.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1127,19 +1127,19 @@ Look for updates of telegram's terms of service…">
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getEmojiStickerGroups">messages.getEmojiStickerGroups</a></td>
|
||||
<td> </td>
|
||||
<td>Represents a list of <a href="/api/emoji-categories">emoji categories</a>, to be used when choosing a sticker.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getEmojiGroups">messages.getEmojiGroups</a></td>
|
||||
<td>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>, to be used when selecting <a href="/api/custom-emoji">custom emojis</a>.</td>
|
||||
<td>Represents a list of <a href="/api/emoji-categories">emoji categories</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getEmojiStatusGroups">messages.getEmojiStatusGroups</a></td>
|
||||
<td>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="/api">custom emoji status</a>.</td>
|
||||
<td>Represents a list of <a href="/api/emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="/api">custom emoji status</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getEmojiProfilePhotoGroups">messages.getEmojiProfilePhotoGroups</a></td>
|
||||
<td>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="/api/files#sticker-profile-pictures">profile picture</a>.</td>
|
||||
<td>Represents a list of <a href="/api/emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="/api/files#sticker-profile-pictures">profile picture</a>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -3450,23 +3450,23 @@ Look for updates of telegram's terms of service…">
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/stats.getBroadcastRevenueStats">stats.getBroadcastRevenueStats</a></td>
|
||||
<td> </td>
|
||||
<td>Get <a href="/api/revenue">channel ad revenue statistics »</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/stats.getBroadcastRevenueWithdrawalUrl">stats.getBroadcastRevenueWithdrawalUrl</a></td>
|
||||
<td> </td>
|
||||
<td>Withdraw funds from a channel's <a href="/api/revenue">ad revenue balance »</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/stats.getBroadcastRevenueTransactions">stats.getBroadcastRevenueTransactions</a></td>
|
||||
<td> </td>
|
||||
<td>Fetch <a href="/api/revenue">channel ad revenue transaction history »</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/channels.restrictSponsoredMessages">channels.restrictSponsoredMessages</a></td>
|
||||
<td> </td>
|
||||
<td>Reduce ads on the specified channel, for all users.<br><br>Available only after reaching at least the <a href="/api/boost">boost level »</a> specified in the <a href="/api/config#channel-restrict-sponsored-level-min"><code>channel_restrict_sponsored_level_min</code> »</a> config parameter.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.toggleSponsoredMessages">account.toggleSponsoredMessages</a></td>
|
||||
<td> </td>
|
||||
<td>Disable or re-enable Telegram ads for the current <a href="/api/premium">Premium</a> account.<br><br>Useful for business owners that may want to launch and view their own Telegram ads via the <a href="https://ads.telegram.org">Telegram ad platform »</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/stories.togglePinnedToTop">stories.togglePinnedToTop</a></td>
|
||||
|
@ -3486,7 +3486,7 @@ Look for updates of telegram's terms of service…">
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getAvailableEffects">messages.getAvailableEffects</a></td>
|
||||
<td> </td>
|
||||
<td>Fetch the full list of usable <a href="/api/effects">animated message effects »</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/channels.searchPosts">channels.searchPosts</a></td>
|
||||
|
|
|
@ -53,9 +53,9 @@
|
|||
<h5><a class="anchor" href="#1-client-sends-query-to-server" id="1-client-sends-query-to-server" name="1-client-sends-query-to-server"><i class="anchor-icon"></i></a>1) Client sends query to server</h5>
|
||||
<!-- start req_pq_multi -->
|
||||
<p>Sent payload (excluding transport headers/trailers):</p>
|
||||
<pre><code>0000 | 00 00 00 00 00 00 00 00 1C 5F 09 00 58 AD 96 66
|
||||
0010 | 14 00 00 00 F1 8E 7E BE 17 50 E8 58 D3 21 1A F9
|
||||
0020 | 97 FF 63 38 14 87 00 9E</code></pre>
|
||||
<pre><code>0000 | 00 00 00 00 00 00 00 00 38 40 0E 00 2A C5 96 66
|
||||
0010 | 14 00 00 00 F1 8E 7E BE F6 82 BC AE D6 6D 37 DF
|
||||
0020 | C8 5F 2F 8E 45 5B 24 FA</code></pre>
|
||||
<p>Payload (de)serialization:</p>
|
||||
<pre><code>req_pq_multi#be7e8ef1 nonce:int128 = ResPQ;</code></pre>
|
||||
<table class="table">
|
||||
|
@ -77,7 +77,7 @@
|
|||
<tr>
|
||||
<td>message_id</td>
|
||||
<td>8, 8</td>
|
||||
<td><code>1C5F090058AD9666</code></td>
|
||||
<td><code>38400E002AC59666</code></td>
|
||||
<td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() << 32) + (N*4)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -95,7 +95,7 @@
|
|||
<tr>
|
||||
<td>nonce</td>
|
||||
<td>24, 16</td>
|
||||
<td><code>1750E858D3211AF997FF63381487009E</code></td>
|
||||
<td><code>F682BCAED66D37DFC85F2F8E455B24FA</code></td>
|
||||
<td>Random number</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -104,11 +104,11 @@
|
|||
<h5><a class="anchor" href="#2-server-sends-response-of-the-form" id="2-server-sends-response-of-the-form" name="2-server-sends-response-of-the-form"><i class="anchor-icon"></i></a>2) Server sends response of the form</h5>
|
||||
<!-- start resPQ -->
|
||||
<p>Received payload (excluding transport headers/trailers):</p>
|
||||
<pre><code>0000 | 00 00 00 00 00 00 00 00 01 AC E6 8C 58 AD 96 66
|
||||
0010 | 60 00 00 00 63 24 16 05 17 50 E8 58 D3 21 1A F9
|
||||
0020 | 97 FF 63 38 14 87 00 9E 0B ED 9E E8 16 1D 54 6C
|
||||
0030 | 7E 8F 19 68 58 00 BF 8C 08 1D 32 D5 73 DF DB 79
|
||||
0040 | 7B 00 00 00 15 C4 B5 1C 03 00 00 00 A5 B7 F7 09
|
||||
<pre><code>0000 | 00 00 00 00 00 00 00 00 01 34 7B 42 2A C5 96 66
|
||||
0010 | 68 00 00 00 63 24 16 05 F6 82 BC AE D6 6D 37 DF
|
||||
0020 | C8 5F 2F 8E 45 5B 24 FA CC 5A 5E 98 8D E8 26 0B
|
||||
0030 | 1E A7 A5 AE 5E 9B B4 B3 08 1D 9E 37 F0 DF 6A 8F
|
||||
0040 | EB 00 00 00 15 C4 B5 1C 03 00 00 00 A5 B7 F7 09
|
||||
0050 | 35 5F C3 0B 21 6B E8 6C 02 2B B4 C3 85 FD 64 DE
|
||||
0060 | 85 1D 9D D0</code></pre>
|
||||
<p>Payload (de)serialization:</p>
|
||||
|
@ -132,13 +132,13 @@
|
|||
<tr>
|
||||
<td>message_id</td>
|
||||
<td>8, 8</td>
|
||||
<td><code>01ACE68C58AD9666</code></td>
|
||||
<td><code>01347B422AC59666</code></td>
|
||||
<td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() << 32) + (N*4)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>message_length</td>
|
||||
<td>16, 4</td>
|
||||
<td><code>60000000</code> (96 in decimal)</td>
|
||||
<td><code>68000000</code> (104 in decimal)</td>
|
||||
<td>Message body length</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -150,19 +150,19 @@
|
|||
<tr>
|
||||
<td>nonce</td>
|
||||
<td>24, 16</td>
|
||||
<td><code>1750E858D3211AF997FF63381487009E</code></td>
|
||||
<td><code>F682BCAED66D37DFC85F2F8E455B24FA</code></td>
|
||||
<td>Value generated by client in Step 1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>server_nonce</td>
|
||||
<td>40, 16</td>
|
||||
<td><code>0BED9EE8161D546C7E8F19685800BF8C</code></td>
|
||||
<td><code>CC5A5E988DE8260B1EA7A5AE5E9BB4B3</code></td>
|
||||
<td>Server-generated random number</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>pq</td>
|
||||
<td>56, 12</td>
|
||||
<td><code>081D32D573DFDB797B000000</code><br>TL byte deserialization <br>=> bigendian conversion to decimal<br>=> 2103978669589100923</td>
|
||||
<td><code>081D9E37F0DF6A8FEB000000</code><br>TL byte deserialization <br>=> bigendian conversion to decimal<br>=> 2134204781100175339</td>
|
||||
<td>Single-byte prefix denoting length, an 8-byte string, and three bytes of padding</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -208,22 +208,22 @@
|
|||
<h4><a class="anchor" href="#proof-of-work" id="proof-of-work" name="proof-of-work"><i class="anchor-icon"></i></a>Proof of work</h4>
|
||||
<h5><a class="anchor" href="#3-client-decomposes-pq-into-prime-factors-such-that-p-lt-q" id="3-client-decomposes-pq-into-prime-factors-such-that-p-lt-q" name="3-client-decomposes-pq-into-prime-factors-such-that-p-lt-q"><i class="anchor-icon"></i></a>3) Client decomposes pq into prime factors such that p < q.</h5>
|
||||
<!-- start pq -->
|
||||
<pre><code>pq = 2103978669589100923</code></pre>
|
||||
<p>Decompose into 2 prime cofactors <code>p < q</code>: <code>2103978669589100923 = 1128259037 * 1864801079</code></p>
|
||||
<pre><code>p = 1128259037
|
||||
q = 1864801079</code></pre>
|
||||
<pre><code>pq = 2134204781100175339</code></pre>
|
||||
<p>Decompose into 2 prime cofactors <code>p < q</code>: <code>2134204781100175339 = 1340884063 * 1591640053</code></p>
|
||||
<pre><code>p = 1340884063
|
||||
q = 1591640053</code></pre>
|
||||
<!-- end pq -->
|
||||
<h4><a class="anchor" href="#presenting-proof-of-work-server-authentication" id="presenting-proof-of-work-server-authentication" name="presenting-proof-of-work-server-authentication"><i class="anchor-icon"></i></a>Presenting proof of work; Server authentication</h4>
|
||||
<h5><a class="anchor" href="#4-encrypted-data-payload-generation" id="4-encrypted-data-payload-generation" name="4-encrypted-data-payload-generation"><i class="anchor-icon"></i></a>4) <code>encrypted_data</code> payload generation</h5>
|
||||
<p>First of all, generate an <code>encrypted_data</code> payload as follows:</p>
|
||||
<!-- start p_q_inner_data_dc -->
|
||||
<p>Generated payload (excluding transport headers/trailers):</p>
|
||||
<pre><code>0000 | 95 5F F5 A9 08 1D 32 D5 73 DF DB 79 7B 00 00 00
|
||||
0010 | 04 43 3F DD DD 00 00 00 04 6F 26 9B 37 00 00 00
|
||||
0020 | 17 50 E8 58 D3 21 1A F9 97 FF 63 38 14 87 00 9E
|
||||
0030 | 0B ED 9E E8 16 1D 54 6C 7E 8F 19 68 58 00 BF 8C
|
||||
0040 | 8A 2F 9F 65 0B 8F 58 EA 62 9A 6B 61 2C 93 B8 A8
|
||||
0050 | B9 6A 6D 63 87 4D 6F 07 AC 86 AA F3 F9 C3 0F CF
|
||||
<pre><code>0000 | 95 5F F5 A9 08 1D 9E 37 F0 DF 6A 8F EB 00 00 00
|
||||
0010 | 04 4F EC 44 5F 00 00 00 04 5E DE 7F F5 00 00 00
|
||||
0020 | F6 82 BC AE D6 6D 37 DF C8 5F 2F 8E 45 5B 24 FA
|
||||
0030 | CC 5A 5E 98 8D E8 26 0B 1E A7 A5 AE 5E 9B B4 B3
|
||||
0040 | 99 16 8C 34 5E C4 A3 3A B7 7B 6E A9 5C 67 38 3A
|
||||
0050 | 23 93 51 3E 1A 2F 88 AE 3E 60 1B 8B E5 5C DC 92
|
||||
0060 | 02 00 00 00</code></pre>
|
||||
<p>Payload (de)serialization:</p>
|
||||
<pre><code>p_q_inner_data_dc#a9f55f95 pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 dc:int = P_Q_inner_data;</code></pre>
|
||||
|
@ -246,37 +246,37 @@ q = 1864801079</code></pre>
|
|||
<tr>
|
||||
<td>pq</td>
|
||||
<td>4, 12</td>
|
||||
<td><code>081D32D573DFDB797B000000</code><br>TL byte deserialization <br>=> bigendian conversion to decimal<br>=> 2103978669589100923</td>
|
||||
<td><code>081D9E37F0DF6A8FEB000000</code><br>TL byte deserialization <br>=> bigendian conversion to decimal<br>=> 2134204781100175339</td>
|
||||
<td>Single-byte prefix denoting length, 8-byte string, and three bytes of padding</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>p</td>
|
||||
<td>16, 8</td>
|
||||
<td><code>04433FDDDD000000</code><br>TL byte deserialization <br>=> bigendian conversion to decimal<br>=> 1128259037</td>
|
||||
<td><code>044FEC445F000000</code><br>TL byte deserialization <br>=> bigendian conversion to decimal<br>=> 1340884063</td>
|
||||
<td>First prime cofactor: single-byte prefix denoting length, 4-byte string, and three bytes of padding</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>q</td>
|
||||
<td>24, 8</td>
|
||||
<td><code>046F269B37000000</code><br>TL byte deserialization <br>=> bigendian conversion to decimal<br>=> 1864801079</td>
|
||||
<td><code>045EDE7FF5000000</code><br>TL byte deserialization <br>=> bigendian conversion to decimal<br>=> 1591640053</td>
|
||||
<td>Second prime cofactor: single-byte prefix denoting length, 4-byte string, and three bytes of padding</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>nonce</td>
|
||||
<td>32, 16</td>
|
||||
<td><code>1750E858D3211AF997FF63381487009E</code></td>
|
||||
<td><code>F682BCAED66D37DFC85F2F8E455B24FA</code></td>
|
||||
<td>Value generated by client in Step 1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>server_nonce</td>
|
||||
<td>48, 16</td>
|
||||
<td><code>0BED9EE8161D546C7E8F19685800BF8C</code></td>
|
||||
<td><code>CC5A5E988DE8260B1EA7A5AE5E9BB4B3</code></td>
|
||||
<td>Value received from server in Step 2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>new_nonce</td>
|
||||
<td>64, 32</td>
|
||||
<td><code>8A2F9F650B8F58EA629A6B612C93B8A8</code> <code>B96A6D63874D6F07AC86AAF3F9C30FCF</code></td>
|
||||
<td><code>99168C345EC4A33AB77B6EA95C67383A</code> <code>2393513E1A2F88AE3E601B8BE55CDC92</code></td>
|
||||
<td>Client-generated random number</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -291,39 +291,39 @@ q = 1864801079</code></pre>
|
|||
<p>The serialization of <em>P_Q_inner_data</em> produces <strong>data</strong>, which is used to generate <strong>encrypted_data</strong> as specified in <a href="/mtproto/auth_key">step 4.1</a>.<br>
|
||||
These are the inputs to the algorithm specified in <a href="/mtproto/auth_key">step 4.1</a>:</p>
|
||||
<!-- start p_q_inner_data_input -->
|
||||
<pre><code>data = 955FF5A9081D32D573DFDB797B00000004433FDDDD000000046F269B370000001750E858D3211AF997FF63381487009E0BED9EE8161D546C7E8F19685800BF8C8A2F9F650B8F58EA629A6B612C93B8A8B96A6D63874D6F07AC86AAF3F9C30FCF02000000
|
||||
random_padding_bytes = E446A256CDF42280D5C8C445C79C419BABD8C8091422043764E075A1F015AF05004B5C5B11A40DC211E6B16253875913CF5D1AC232A16E1380D99EB5ADA25367D392A7DD29257B9F9EE027192B037A7520719F54737A912F217E5868</code></pre>
|
||||
<pre><code>data = 955FF5A9081D9E37F0DF6A8FEB000000044FEC445F000000045EDE7FF5000000F682BCAED66D37DFC85F2F8E455B24FACC5A5E988DE8260B1EA7A5AE5E9BB4B399168C345EC4A33AB77B6EA95C67383A2393513E1A2F88AE3E601B8BE55CDC9202000000
|
||||
random_padding_bytes = E5D51A658C033CCAA5A839B15B0B0EDC8DB905F73705BA6F4806D7109215E8E7FA88A57D87F5878DD7067776A4DB55A3C777E10FCB253786CB802C1117999CEEE197AB2C9683A3D052381C0C71EA3BD5B924C8DA9DB94293C9F04D6A</code></pre>
|
||||
<!-- end p_q_inner_data_input -->
|
||||
<p>And this is the output:</p>
|
||||
<!-- start p_q_inner_data_output -->
|
||||
<pre><code>encrypted_data = DC401F934F27792176C356E6C8ED46FCC2D40000656E9306F3B65A66F90E759658EF0D1A60A7A1E1A860B93B0A47C3A5FAF0DD2B54356EF6043551994E66D9C647FCC1FDA3CCA4FF3DCBB2F86944D1C0D5050854F3AEC1EC9A83B26641E25339A3F8F6FCA2AD0618841BA5199BCDCDF8E9DA1F7FA88D8FB8B184DFD7CD8AC94560985C368F55C86C5F9FC2CB034A466898599FCE478B92887DF9AC80D827FFA3AA038E23E21AD3EB828F27E8D5541D16BF661B7B7A61080907538F1433EDFBCDB11321CB1950EC10117740C3A69068423BA556DDA8E935F8394103D90F1EB70D1902052337CF5A36D818732C7E1C9B1645D20F1F845CC61FFFA086E8E11B4629</code></pre>
|
||||
<pre><code>encrypted_data = B5812471C9574BC9BAB413AB97AC6438A672364E11910BD14F670B1D3A2AFB8081C6E49021E0E93E1A6EDA7B861475ADD9BB5D3974543CE20D350B3B3F61F1ED97A7AE79341DFBE3CD94FAD96D45025CEDEBC77EFD29FDB53F87527FDD3DBC666D374BC87D1F2CBF874BA59BF3D86C10B0D1004B18BE25A66DA078044A3101121C5A990388572C630C2ACC88265B0FCF993EC0F727A69D7A52060559ED233EF1BB1D6A48F9E85739A1320D6C3D6BAAF266CCE66797D3AF83BCD9BCBFC7AB721DC366F8312AB715FCFAAB0A5F024C1F9C638B52E153752056D8AB33D55DCBFF92C67EC6573F19CEB2D112DB5F434D34BF5FACA9F71BE139E29EAF7E5DDD998708</code></pre>
|
||||
<!-- end p_q_inner_data_output -->
|
||||
<p>The length of the final string is 256 bytes.</p>
|
||||
<h5><a class="anchor" href="#5-send-req-dh-params-query-with-generated-encrypted-data" id="5-send-req-dh-params-query-with-generated-encrypted-data" name="5-send-req-dh-params-query-with-generated-encrypted-data"><i class="anchor-icon"></i></a>5) Send req_DH_params query with generated <code>encrypted_data</code></h5>
|
||||
<!-- start req_DH_params -->
|
||||
<p>Sent payload (excluding transport headers/trailers):</p>
|
||||
<pre><code>0000 | 00 00 00 00 00 00 00 00 20 5F 09 00 58 AD 96 66
|
||||
0010 | 40 01 00 00 BE E4 12 D7 17 50 E8 58 D3 21 1A F9
|
||||
0020 | 97 FF 63 38 14 87 00 9E 0B ED 9E E8 16 1D 54 6C
|
||||
0030 | 7E 8F 19 68 58 00 BF 8C 04 43 3F DD DD 00 00 00
|
||||
0040 | 04 6F 26 9B 37 00 00 00 85 FD 64 DE 85 1D 9D D0
|
||||
0050 | FE 00 01 00 DC 40 1F 93 4F 27 79 21 76 C3 56 E6
|
||||
0060 | C8 ED 46 FC C2 D4 00 00 65 6E 93 06 F3 B6 5A 66
|
||||
0070 | F9 0E 75 96 58 EF 0D 1A 60 A7 A1 E1 A8 60 B9 3B
|
||||
0080 | 0A 47 C3 A5 FA F0 DD 2B 54 35 6E F6 04 35 51 99
|
||||
0090 | 4E 66 D9 C6 47 FC C1 FD A3 CC A4 FF 3D CB B2 F8
|
||||
00A0 | 69 44 D1 C0 D5 05 08 54 F3 AE C1 EC 9A 83 B2 66
|
||||
00B0 | 41 E2 53 39 A3 F8 F6 FC A2 AD 06 18 84 1B A5 19
|
||||
00C0 | 9B CD CD F8 E9 DA 1F 7F A8 8D 8F B8 B1 84 DF D7
|
||||
00D0 | CD 8A C9 45 60 98 5C 36 8F 55 C8 6C 5F 9F C2 CB
|
||||
00E0 | 03 4A 46 68 98 59 9F CE 47 8B 92 88 7D F9 AC 80
|
||||
00F0 | D8 27 FF A3 AA 03 8E 23 E2 1A D3 EB 82 8F 27 E8
|
||||
0100 | D5 54 1D 16 BF 66 1B 7B 7A 61 08 09 07 53 8F 14
|
||||
0110 | 33 ED FB CD B1 13 21 CB 19 50 EC 10 11 77 40 C3
|
||||
0120 | A6 90 68 42 3B A5 56 DD A8 E9 35 F8 39 41 03 D9
|
||||
0130 | 0F 1E B7 0D 19 02 05 23 37 CF 5A 36 D8 18 73 2C
|
||||
0140 | 7E 1C 9B 16 45 D2 0F 1F 84 5C C6 1F FF A0 86 E8
|
||||
0150 | E1 1B 46 29</code></pre>
|
||||
<pre><code>0000 | 00 00 00 00 00 00 00 00 3C 40 0E 00 2A C5 96 66
|
||||
0010 | 40 01 00 00 BE E4 12 D7 F6 82 BC AE D6 6D 37 DF
|
||||
0020 | C8 5F 2F 8E 45 5B 24 FA CC 5A 5E 98 8D E8 26 0B
|
||||
0030 | 1E A7 A5 AE 5E 9B B4 B3 04 4F EC 44 5F 00 00 00
|
||||
0040 | 04 5E DE 7F F5 00 00 00 85 FD 64 DE 85 1D 9D D0
|
||||
0050 | FE 00 01 00 B5 81 24 71 C9 57 4B C9 BA B4 13 AB
|
||||
0060 | 97 AC 64 38 A6 72 36 4E 11 91 0B D1 4F 67 0B 1D
|
||||
0070 | 3A 2A FB 80 81 C6 E4 90 21 E0 E9 3E 1A 6E DA 7B
|
||||
0080 | 86 14 75 AD D9 BB 5D 39 74 54 3C E2 0D 35 0B 3B
|
||||
0090 | 3F 61 F1 ED 97 A7 AE 79 34 1D FB E3 CD 94 FA D9
|
||||
00A0 | 6D 45 02 5C ED EB C7 7E FD 29 FD B5 3F 87 52 7F
|
||||
00B0 | DD 3D BC 66 6D 37 4B C8 7D 1F 2C BF 87 4B A5 9B
|
||||
00C0 | F3 D8 6C 10 B0 D1 00 4B 18 BE 25 A6 6D A0 78 04
|
||||
00D0 | 4A 31 01 12 1C 5A 99 03 88 57 2C 63 0C 2A CC 88
|
||||
00E0 | 26 5B 0F CF 99 3E C0 F7 27 A6 9D 7A 52 06 05 59
|
||||
00F0 | ED 23 3E F1 BB 1D 6A 48 F9 E8 57 39 A1 32 0D 6C
|
||||
0100 | 3D 6B AA F2 66 CC E6 67 97 D3 AF 83 BC D9 BC BF
|
||||
0110 | C7 AB 72 1D C3 66 F8 31 2A B7 15 FC FA AB 0A 5F
|
||||
0120 | 02 4C 1F 9C 63 8B 52 E1 53 75 20 56 D8 AB 33 D5
|
||||
0130 | 5D CB FF 92 C6 7E C6 57 3F 19 CE B2 D1 12 DB 5F
|
||||
0140 | 43 4D 34 BF 5F AC A9 F7 1B E1 39 E2 9E AF 7E 5D
|
||||
0150 | DD 99 87 08</code></pre>
|
||||
<p>Payload (de)serialization:</p>
|
||||
<pre><code>req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params;</code></pre>
|
||||
<table class="table">
|
||||
|
@ -345,7 +345,7 @@ random_padding_bytes = E446A256CDF42280D5C8C445C79C419BABD8C8091422043764E075A1F
|
|||
<tr>
|
||||
<td>message_id</td>
|
||||
<td>8, 8</td>
|
||||
<td><code>205F090058AD9666</code></td>
|
||||
<td><code>3C400E002AC59666</code></td>
|
||||
<td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() << 32) + (N*4)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -363,25 +363,25 @@ random_padding_bytes = E446A256CDF42280D5C8C445C79C419BABD8C8091422043764E075A1F
|
|||
<tr>
|
||||
<td>nonce</td>
|
||||
<td>24, 16</td>
|
||||
<td><code>1750E858D3211AF997FF63381487009E</code></td>
|
||||
<td><code>F682BCAED66D37DFC85F2F8E455B24FA</code></td>
|
||||
<td>Value generated by client in Step 1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>server_nonce</td>
|
||||
<td>40, 16</td>
|
||||
<td><code>0BED9EE8161D546C7E8F19685800BF8C</code></td>
|
||||
<td><code>CC5A5E988DE8260B1EA7A5AE5E9BB4B3</code></td>
|
||||
<td>Value received from server in Step 2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>p</td>
|
||||
<td>56, 8</td>
|
||||
<td><code>04433FDDDD000000</code><br>TL byte deserialization <br>=> bigendian conversion to decimal<br>=> 1128259037</td>
|
||||
<td><code>044FEC445F000000</code><br>TL byte deserialization <br>=> bigendian conversion to decimal<br>=> 1340884063</td>
|
||||
<td>First prime cofactor: single-byte prefix denoting length, 4-byte string, and three bytes of padding</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>q</td>
|
||||
<td>64, 8</td>
|
||||
<td><code>046F269B37000000</code><br>TL byte deserialization <br>=> bigendian conversion to decimal<br>=> 1864801079</td>
|
||||
<td><code>045EDE7FF5000000</code><br>TL byte deserialization <br>=> bigendian conversion to decimal<br>=> 1591640053</td>
|
||||
<td>Second prime cofactor: single-byte prefix denoting length, 4-byte string, and three bytes of padding</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -393,7 +393,7 @@ random_padding_bytes = E446A256CDF42280D5C8C445C79C419BABD8C8091422043764E075A1F
|
|||
<tr>
|
||||
<td>encrypted_data</td>
|
||||
<td>80, 260</td>
|
||||
<td><code>FE000100DC401F934F27792176C356E6</code> <code>C8ED46FCC2D40000656E9306F3B65A66</code> <code>F90E759658EF0D1A60A7A1E1A860B93B</code> <code>0A47C3A5FAF0DD2B54356EF604355199</code> <code>4E66D9C647FCC1FDA3CCA4FF3DCBB2F8</code> <code>6944D1C0D5050854F3AEC1EC9A83B266</code> <code>41E25339A3F8F6FCA2AD0618841BA519</code> <code>9BCDCDF8E9DA1F7FA88D8FB8B184DFD7</code> <code>CD8AC94560985C368F55C86C5F9FC2CB</code> <code>034A466898599FCE478B92887DF9AC80</code> <code>D827FFA3AA038E23E21AD3EB828F27E8</code> <code>D5541D16BF661B7B7A61080907538F14</code> <code>33EDFBCDB11321CB1950EC10117740C3</code> <code>A69068423BA556DDA8E935F8394103D9</code> <code>0F1EB70D1902052337CF5A36D818732C</code> <code>7E1C9B1645D20F1F845CC61FFFA086E8</code><br> <code>E11B4629</code></td>
|
||||
<td><code>FE000100B5812471C9574BC9BAB413AB</code> <code>97AC6438A672364E11910BD14F670B1D</code> <code>3A2AFB8081C6E49021E0E93E1A6EDA7B</code> <code>861475ADD9BB5D3974543CE20D350B3B</code> <code>3F61F1ED97A7AE79341DFBE3CD94FAD9</code> <code>6D45025CEDEBC77EFD29FDB53F87527F</code> <code>DD3DBC666D374BC87D1F2CBF874BA59B</code> <code>F3D86C10B0D1004B18BE25A66DA07804</code> <code>4A3101121C5A990388572C630C2ACC88</code> <code>265B0FCF993EC0F727A69D7A52060559</code> <code>ED233EF1BB1D6A48F9E85739A1320D6C</code> <code>3D6BAAF266CCE66797D3AF83BCD9BCBF</code> <code>C7AB721DC366F8312AB715FCFAAB0A5F</code> <code>024C1F9C638B52E153752056D8AB33D5</code> <code>5DCBFF92C67EC6573F19CEB2D112DB5F</code> <code>434D34BF5FACA9F71BE139E29EAF7E5D</code><br> <code>DD998708</code></td>
|
||||
<td>Value generated above</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -402,47 +402,47 @@ random_padding_bytes = E446A256CDF42280D5C8C445C79C419BABD8C8091422043764E075A1F
|
|||
<h5><a class="anchor" href="#6-server-responds-with" id="6-server-responds-with" name="6-server-responds-with"><i class="anchor-icon"></i></a>6) Server responds with:</h5>
|
||||
<!-- start server_DH_params_ok -->
|
||||
<p>Received payload (excluding transport headers/trailers):</p>
|
||||
<pre><code>0000 | 00 00 00 00 00 00 00 00 01 38 84 5B 59 AD 96 66
|
||||
0010 | AC 02 00 00 5C 07 E8 D0 17 50 E8 58 D3 21 1A F9
|
||||
0020 | 97 FF 63 38 14 87 00 9E 0B ED 9E E8 16 1D 54 6C
|
||||
0030 | 7E 8F 19 68 58 00 BF 8C FE 50 02 00 51 E6 98 0D
|
||||
0040 | 2E 9C 46 66 27 48 C7 21 F6 0C C1 9A 1B AA D2 F7
|
||||
0050 | CE AE 98 87 C9 BF B6 1D D6 DB 13 B2 7F 94 B7 B5
|
||||
0060 | FB 57 31 9D D8 FD 17 4E C5 AD 81 DE 75 14 C9 F8
|
||||
0070 | 87 13 E6 0A 04 B1 F5 2C B4 9A E5 71 F0 E3 05 18
|
||||
0080 | 49 12 4E 63 52 F4 94 F3 F3 2A 90 F3 8E B9 53 C2
|
||||
0090 | 6D AA 2B C1 C5 E0 90 0A 82 BA 1F C8 E9 43 80 E2
|
||||
00A0 | 15 A2 A3 4D 83 40 14 C1 FE 04 4E 65 69 0D BD FC
|
||||
00B0 | 6B 5F 70 F5 60 11 7A 79 92 C6 B6 15 92 91 EB 9D
|
||||
00C0 | 68 52 74 62 33 97 E1 53 3D 2B DF EC F5 C6 04 B9
|
||||
00D0 | 20 40 B0 6B 9E 80 4C 45 0E 72 16 A6 47 6A A7 AA
|
||||
00E0 | A2 D3 4D F1 8D 31 37 0C 95 63 89 61 94 53 6F C7
|
||||
00F0 | 78 28 B1 8D A7 09 A1 70 52 E8 29 71 E0 AC 81 DE
|
||||
0100 | A9 37 29 DD 18 E9 BF 36 C8 56 E8 9C 6F B0 E8 A7
|
||||
0110 | A2 20 BA A3 1B 47 B3 20 CB 37 6B 11 81 A2 6C 23
|
||||
0120 | 55 23 D6 31 D3 9C 2F 1D FE D5 59 C6 C2 D2 68 E2
|
||||
0130 | 83 DE 33 39 36 79 4A DD F1 3F 83 54 F2 1C C6 72
|
||||
0140 | 5D 09 65 95 E9 6F 67 0A B8 A5 7C E9 BA 95 B5 D6
|
||||
0150 | AB E8 AF A3 04 8D 52 A3 AB 77 8F AC F8 C9 9F 64
|
||||
0160 | E1 01 DE 26 5C 3C 85 73 C0 78 13 F3 62 34 8C B5
|
||||
0170 | 03 85 3B 3D 8C 04 C7 08 BD 28 A2 70 4E B8 AB D8
|
||||
0180 | 42 BB 11 C6 42 62 FA 71 90 EE 14 86 55 EB 1E 75
|
||||
0190 | FF 36 91 38 A8 8A E3 A7 CA 79 64 62 7F 90 57 CF
|
||||
01A0 | 18 70 3F 40 BF AF 7F 08 3B 5B 37 AB 3C A5 BB 1A
|
||||
01B0 | B8 78 E3 40 0C 53 AA D2 5A 52 CC 75 37 93 FE 91
|
||||
01C0 | FB 1A F9 28 5A C9 0D 42 7F 11 E9 BE 52 F4 CD B6
|
||||
01D0 | A6 62 60 BF FE 6E CA FD E2 2E D3 B0 D3 16 0B AA
|
||||
01E0 | 01 59 37 B3 5A 05 63 31 92 1B CF F9 8D 6D 26 F9
|
||||
01F0 | 78 5D 4F BF F8 98 90 FC C3 5F 00 43 01 91 21 46
|
||||
0200 | 77 F2 48 E4 63 FB 83 C9 AF B1 E6 2F 25 4C 23 03
|
||||
0210 | B8 B0 E4 CA E8 A8 8F FD 93 2A AA D3 1C 43 CC A0
|
||||
0220 | 94 87 E7 F2 5F 4B E6 CC 25 A7 DC 6F 21 DC 35 D9
|
||||
0230 | 00 5F 67 AA 09 9A 53 C4 AC 30 E9 9D 97 6A E1 AF
|
||||
0240 | D1 0F 17 94 0A 36 16 F5 E6 1D 95 04 A0 23 CE 99
|
||||
0250 | 23 5F B8 30 0E 17 B3 6B 96 87 65 42 9B 1C 15 78
|
||||
0260 | 29 A0 EB 97 B7 A1 DF 06 5C 8E 42 69 B1 33 E8 E7
|
||||
0270 | 0A 20 19 55 33 61 D4 05 A6 83 CE 5F AB 2E 1C 9B
|
||||
0280 | 61 51 1D 6A 80 25 7E 85 5E B5 6A 5F</code></pre>
|
||||
<pre><code>0000 | 00 00 00 00 00 00 00 00 01 C4 71 EA 2A C5 96 66
|
||||
0010 | BC 02 00 00 5C 07 E8 D0 F6 82 BC AE D6 6D 37 DF
|
||||
0020 | C8 5F 2F 8E 45 5B 24 FA CC 5A 5E 98 8D E8 26 0B
|
||||
0030 | 1E A7 A5 AE 5E 9B B4 B3 FE 50 02 00 EA 91 BA B4
|
||||
0040 | 2D DB DC B7 F3 8A 54 07 E8 08 9A B7 69 24 96 41
|
||||
0050 | 66 29 3E 01 78 3A 6A E2 83 DB B9 F6 49 90 23 DB
|
||||
0060 | 08 0D CC 48 8B 26 2C 15 43 05 BE EF 68 7F 1B C7
|
||||
0070 | 6F 4F F9 E9 98 F1 00 B8 51 B0 4C E2 84 C8 9B 3A
|
||||
0080 | C4 21 2E 2C 49 97 44 80 95 0D FD 29 E7 DD 8A E0
|
||||
0090 | E6 3F EF 77 93 AB 43 AB E6 1F 4F 52 B8 04 08 94
|
||||
00A0 | 59 79 DB 30 A5 ED CB 1F 1C 6E DC 8C 68 7A 70 AD
|
||||
00B0 | 6D 64 C9 52 74 F4 DB 8B C6 FA AE 3D A2 FB 56 C4
|
||||
00C0 | B5 EF AA C7 9E FA DE 6E 15 BF EA 95 55 B3 D0 BD
|
||||
00D0 | 9F 52 8D 7B 8C C3 06 7D FB AE 52 06 FE B9 60 17
|
||||
00E0 | E1 D7 15 F5 86 D4 87 F7 0D 11 4A 49 C2 0A 9F E4
|
||||
00F0 | 02 BA 86 D6 72 00 D1 4B E9 D4 EA BB 96 91 66 DF
|
||||
0100 | 71 9F 50 4D 69 F6 65 F8 F7 09 60 35 ED 02 94 7B
|
||||
0110 | DC C0 B1 EC C9 BC EE A4 C5 67 A0 DC DB 69 AE E3
|
||||
0120 | FC EB 51 64 75 F3 3D 1E AE 91 99 C7 81 01 4F DA
|
||||
0130 | E6 85 6E FE B2 60 6D 88 BA 04 FA CA 8E 61 73 6A
|
||||
0140 | 20 FA B6 A8 2C F8 48 18 6F 0C 4D FB CB BE 34 15
|
||||
0150 | E8 71 B8 F1 64 4E E3 F6 DA A8 C5 FE 8B 73 B5 E9
|
||||
0160 | C0 13 3D 92 8C 77 92 96 26 0E 14 2C BE 19 0A AC
|
||||
0170 | 0C 7E F1 40 57 31 A6 EE CB C7 3C 80 9F 14 5C 19
|
||||
0180 | DE 4A C0 E7 D8 40 3E C3 CE 4B CE 61 CF 2D D6 42
|
||||
0190 | E5 F9 4E FA 29 2B 34 A9 39 22 82 8A 01 F9 97 7A
|
||||
01A0 | EE 87 02 12 0A 44 55 9C E9 F5 2C 9A 10 16 97 0F
|
||||
01B0 | F6 BF 81 83 15 43 84 55 07 EC 6F 3C DE E4 BA 9B
|
||||
01C0 | 9F 0F 06 E9 D8 F7 53 3E 73 4B 65 1C 45 7D EE 79
|
||||
01D0 | 82 B7 A7 9C 2F 12 9D 9E FC C1 75 7F CA 1D 68 27
|
||||
01E0 | B1 6E 57 CE 95 BE DA 98 20 07 AE B5 60 A4 EC AA
|
||||
01F0 | 42 FC B0 5F E7 7B 6E 0A B2 59 56 50 C2 87 59 F2
|
||||
0200 | A3 AE 04 8F 42 13 8B DF D9 D2 45 33 D3 01 55 1E
|
||||
0210 | 14 FF CB B1 C3 D5 E9 00 C0 53 21 81 0C 07 F1 AD
|
||||
0220 | C8 92 72 FF 53 F1 E1 F7 70 EE 5E EC F7 AC 32 C2
|
||||
0230 | 67 A4 C2 37 20 D9 64 FD 37 5B 25 31 BF 58 FD 22
|
||||
0240 | DD 2E 8D 81 A6 29 91 E8 AF 83 15 71 71 04 EC 68
|
||||
0250 | 8F AD 52 9D C7 FF A0 3C 8C C5 72 B9 BE 48 1A 90
|
||||
0260 | FA 7B C0 0D F7 09 2E E7 E3 59 4E A6 3F 9A B7 97
|
||||
0270 | 97 8D 09 03 5F 00 92 A1 0F EC B2 DF 97 13 C2 39
|
||||
0280 | 2E 02 0D BA 6E 66 89 37 BC 66 40 FF</code></pre>
|
||||
<p>Payload (de)serialization:</p>
|
||||
<pre><code>server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params;</code></pre>
|
||||
<table class="table">
|
||||
|
@ -464,13 +464,13 @@ random_padding_bytes = E446A256CDF42280D5C8C445C79C419BABD8C8091422043764E075A1F
|
|||
<tr>
|
||||
<td>message_id</td>
|
||||
<td>8, 8</td>
|
||||
<td><code>0138845B59AD9666</code></td>
|
||||
<td><code>01C471EA2AC59666</code></td>
|
||||
<td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() << 32) + (N*4)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>message_length</td>
|
||||
<td>16, 4</td>
|
||||
<td><code>AC020000</code> (684 in decimal)</td>
|
||||
<td><code>BC020000</code> (700 in decimal)</td>
|
||||
<td>Message body length</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -482,19 +482,19 @@ random_padding_bytes = E446A256CDF42280D5C8C445C79C419BABD8C8091422043764E075A1F
|
|||
<tr>
|
||||
<td>nonce</td>
|
||||
<td>24, 16</td>
|
||||
<td><code>1750E858D3211AF997FF63381487009E</code></td>
|
||||
<td><code>F682BCAED66D37DFC85F2F8E455B24FA</code></td>
|
||||
<td>Value generated by client in Step 1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>server_nonce</td>
|
||||
<td>40, 16</td>
|
||||
<td><code>0BED9EE8161D546C7E8F19685800BF8C</code></td>
|
||||
<td><code>CC5A5E988DE8260B1EA7A5AE5E9BB4B3</code></td>
|
||||
<td>Value received from server in Step 2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>encrypted_answer</td>
|
||||
<td>56, 596</td>
|
||||
<td><code>FE50020051E6980D2E9C46662748C721</code> <code>F60CC19A1BAAD2F7CEAE9887C9BFB61D</code> <code>D6DB13B27F94B7B5FB57319DD8FD174E</code> <code>C5AD81DE7514C9F88713E60A04B1F52C</code> <code>B49AE571F0E3051849124E6352F494F3</code> <code>F32A90F38EB953C26DAA2BC1C5E0900A</code> <code>82BA1FC8E94380E215A2A34D834014C1</code> <code>FE044E65690DBDFC6B5F70F560117A79</code> <code>92C6B6159291EB9D685274623397E153</code> <code>3D2BDFECF5C604B92040B06B9E804C45</code> <code>0E7216A6476AA7AAA2D34DF18D31370C</code> <code>9563896194536FC77828B18DA709A170</code> <code>52E82971E0AC81DEA93729DD18E9BF36</code> <code>C856E89C6FB0E8A7A220BAA31B47B320</code> <code>CB376B1181A26C235523D631D39C2F1D</code> <code>FED559C6C2D268E283DE333936794ADD</code> <code>F13F8354F21CC6725D096595E96F670A</code> <code>B8A57CE9BA95B5D6ABE8AFA3048D52A3</code> <code>AB778FACF8C99F64E101DE265C3C8573</code> <code>C07813F362348CB503853B3D8C04C708</code> <code>BD28A2704EB8ABD842BB11C64262FA71</code> <code>90EE148655EB1E75FF369138A88AE3A7</code> <code>CA7964627F9057CF18703F40BFAF7F08</code> <code>3B5B37AB3CA5BB1AB878E3400C53AAD2</code> <code>5A52CC753793FE91FB1AF9285AC90D42</code> <code>7F11E9BE52F4CDB6A66260BFFE6ECAFD</code> <code>E22ED3B0D3160BAA015937B35A056331</code> <code>921BCFF98D6D26F9785D4FBFF89890FC</code> <code>C35F00430191214677F248E463FB83C9</code> <code>AFB1E62F254C2303B8B0E4CAE8A88FFD</code> <code>932AAAD31C43CCA09487E7F25F4BE6CC</code> <code>25A7DC6F21DC35D9005F67AA099A53C4</code> <code>AC30E99D976AE1AFD10F17940A3616F5</code> <code>E61D9504A023CE99235FB8300E17B36B</code> <code>968765429B1C157829A0EB97B7A1DF06</code> <code>5C8E4269B133E8E70A2019553361D405</code> <code>A683CE5FAB2E1C9B61511D6A80257E85</code><br> <code>5EB56A5F</code></td>
|
||||
<td><code>FE500200EA91BAB42DDBDCB7F38A5407</code> <code>E8089AB76924964166293E01783A6AE2</code> <code>83DBB9F6499023DB080DCC488B262C15</code> <code>4305BEEF687F1BC76F4FF9E998F100B8</code> <code>51B04CE284C89B3AC4212E2C49974480</code> <code>950DFD29E7DD8AE0E63FEF7793AB43AB</code> <code>E61F4F52B80408945979DB30A5EDCB1F</code> <code>1C6EDC8C687A70AD6D64C95274F4DB8B</code> <code>C6FAAE3DA2FB56C4B5EFAAC79EFADE6E</code> <code>15BFEA9555B3D0BD9F528D7B8CC3067D</code> <code>FBAE5206FEB96017E1D715F586D487F7</code> <code>0D114A49C20A9FE402BA86D67200D14B</code> <code>E9D4EABB969166DF719F504D69F665F8</code> <code>F7096035ED02947BDCC0B1ECC9BCEEA4</code> <code>C567A0DCDB69AEE3FCEB516475F33D1E</code> <code>AE9199C781014FDAE6856EFEB2606D88</code> <code>BA04FACA8E61736A20FAB6A82CF84818</code> <code>6F0C4DFBCBBE3415E871B8F1644EE3F6</code> <code>DAA8C5FE8B73B5E9C0133D928C779296</code> <code>260E142CBE190AAC0C7EF1405731A6EE</code> <code>CBC73C809F145C19DE4AC0E7D8403EC3</code> <code>CE4BCE61CF2DD642E5F94EFA292B34A9</code> <code>3922828A01F9977AEE8702120A44559C</code> <code>E9F52C9A1016970FF6BF818315438455</code> <code>07EC6F3CDEE4BA9B9F0F06E9D8F7533E</code> <code>734B651C457DEE7982B7A79C2F129D9E</code> <code>FCC1757FCA1D6827B16E57CE95BEDA98</code> <code>2007AEB560A4ECAA42FCB05FE77B6E0A</code> <code>B2595650C28759F2A3AE048F42138BDF</code> <code>D9D24533D301551E14FFCBB1C3D5E900</code> <code>C05321810C07F1ADC89272FF53F1E1F7</code> <code>70EE5EECF7AC32C267A4C23720D964FD</code> <code>375B2531BF58FD22DD2E8D81A62991E8</code> <code>AF8315717104EC688FAD529DC7FFA03C</code> <code>8CC572B9BE481A90FA7BC00DF7092EE7</code> <code>E3594EA63F9AB797978D09035F0092A1</code> <code>0FECB2DF9713C2392E020DBA6E668937</code><br> <code>BC6640FF</code></td>
|
||||
<td>See below</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -502,20 +502,20 @@ random_padding_bytes = E446A256CDF42280D5C8C445C79C419BABD8C8091422043764E075A1F
|
|||
<!-- end server_DH_params_ok -->
|
||||
<p>Decrypt <code>encrypted_answer</code> using the reverse of the process specified in <a href="/mtproto/auth_key#6-server-responds-with">step 6</a>:</p>
|
||||
<!-- start server_DH_inner_data_input -->
|
||||
<pre><code>encrypted_answer = 51E6980D2E9C46662748C721F60CC19A1BAAD2F7CEAE9887C9BFB61DD6DB13B27F94B7B5FB57319DD8FD174EC5AD81DE7514C9F88713E60A04B1F52CB49AE571F0E3051849124E6352F494F3F32A90F38EB953C26DAA2BC1C5E0900A82BA1FC8E94380E215A2A34D834014C1FE044E65690DBDFC6B5F70F560117A7992C6B6159291EB9D685274623397E1533D2BDFECF5C604B92040B06B9E804C450E7216A6476AA7AAA2D34DF18D31370C9563896194536FC77828B18DA709A17052E82971E0AC81DEA93729DD18E9BF36C856E89C6FB0E8A7A220BAA31B47B320CB376B1181A26C235523D631D39C2F1DFED559C6C2D268E283DE333936794ADDF13F8354F21CC6725D096595E96F670AB8A57CE9BA95B5D6ABE8AFA3048D52A3AB778FACF8C99F64E101DE265C3C8573C07813F362348CB503853B3D8C04C708BD28A2704EB8ABD842BB11C64262FA7190EE148655EB1E75FF369138A88AE3A7CA7964627F9057CF18703F40BFAF7F083B5B37AB3CA5BB1AB878E3400C53AAD25A52CC753793FE91FB1AF9285AC90D427F11E9BE52F4CDB6A66260BFFE6ECAFDE22ED3B0D3160BAA015937B35A056331921BCFF98D6D26F9785D4FBFF89890FCC35F00430191214677F248E463FB83C9AFB1E62F254C2303B8B0E4CAE8A88FFD932AAAD31C43CCA09487E7F25F4BE6CC25A7DC6F21DC35D9005F67AA099A53C4AC30E99D976AE1AFD10F17940A3616F5E61D9504A023CE99235FB8300E17B36B968765429B1C157829A0EB97B7A1DF065C8E4269B133E8E70A2019553361D405A683CE5FAB2E1C9B61511D6A80257E855EB56A5F
|
||||
tmp_aes_key = D6033BBD460A7C02ED99D2D600E445877B7BA4AF941E17E30626C8958828F6A4
|
||||
tmp_aes_iv = 0F195798C07F0E6F392CD4C04D237034D3647749B6D43C42EBC0D0DE8A2F9F65</code></pre>
|
||||
<pre><code>encrypted_answer = EA91BAB42DDBDCB7F38A5407E8089AB76924964166293E01783A6AE283DBB9F6499023DB080DCC488B262C154305BEEF687F1BC76F4FF9E998F100B851B04CE284C89B3AC4212E2C49974480950DFD29E7DD8AE0E63FEF7793AB43ABE61F4F52B80408945979DB30A5EDCB1F1C6EDC8C687A70AD6D64C95274F4DB8BC6FAAE3DA2FB56C4B5EFAAC79EFADE6E15BFEA9555B3D0BD9F528D7B8CC3067DFBAE5206FEB96017E1D715F586D487F70D114A49C20A9FE402BA86D67200D14BE9D4EABB969166DF719F504D69F665F8F7096035ED02947BDCC0B1ECC9BCEEA4C567A0DCDB69AEE3FCEB516475F33D1EAE9199C781014FDAE6856EFEB2606D88BA04FACA8E61736A20FAB6A82CF848186F0C4DFBCBBE3415E871B8F1644EE3F6DAA8C5FE8B73B5E9C0133D928C779296260E142CBE190AAC0C7EF1405731A6EECBC73C809F145C19DE4AC0E7D8403EC3CE4BCE61CF2DD642E5F94EFA292B34A93922828A01F9977AEE8702120A44559CE9F52C9A1016970FF6BF81831543845507EC6F3CDEE4BA9B9F0F06E9D8F7533E734B651C457DEE7982B7A79C2F129D9EFCC1757FCA1D6827B16E57CE95BEDA982007AEB560A4ECAA42FCB05FE77B6E0AB2595650C28759F2A3AE048F42138BDFD9D24533D301551E14FFCBB1C3D5E900C05321810C07F1ADC89272FF53F1E1F770EE5EECF7AC32C267A4C23720D964FD375B2531BF58FD22DD2E8D81A62991E8AF8315717104EC688FAD529DC7FFA03C8CC572B9BE481A90FA7BC00DF7092EE7E3594EA63F9AB797978D09035F0092A10FECB2DF9713C2392E020DBA6E668937BC6640FF
|
||||
tmp_aes_key = 192D215E748F95FD73801788B85F590E7C148D32D273A665210540C00EEA2526
|
||||
tmp_aes_iv = A16A3B38A557F03F6FD1E8EB5B40800EA012A1678A005E1D32D2C74D99168C34</code></pre>
|
||||
<!-- end server_DH_inner_data_input -->
|
||||
<p>Yielding:</p>
|
||||
<!-- start server_DH_inner_data_output -->
|
||||
<pre><code>answer_with_hash = 707AE5637E422848D9507A2CDA3435703416532CBA0D89B51750E858D3211AF997FF63381487009E0BED9EE8161D546C7E8F19685800BF8C03000000FE000100C71CAEB9C6B1C9048E6C522F70F13F73980D40238E3E21C14934D037563D930F48198A0AA7C14058229493D22530F4DBFA336F6E0AC925139543AED44CCE7C3720FD51F69458705AC68CD4FE6B6B13ABDC9746512969328454F18FAF8C595F642477FE96BB2A941D5BCD1D4AC8CC49880708FA9B378E3C4F3A9060BEE67CF9A4A4A695811051907E162753B56B0F6B410DBA74D8A84B2A14B3144E0EF1284754FD17ED950D5965B4B9DD46582DB1178D169C6BC465B0D6FF9CA3928FEF5B9AE4E418FC15E83EBEA0F87FA9FF5EED70050DED2849F47BF959D956850CE929851F0D8115F635B105EE2E4E15D04B2454BF6F4FADF034B10403119CD8E3B92FCC5BFE000100B306B55DB37C55EDB9980AE4F7EC571EA89F6B880E19CF817B436811EF855A75D375848B8BD7653770E74847FADABBF565B0FF261F4686E389332E0B0208243E3E5C37DEBDD223DACADADB800F7520693EE4C8EA483EF21AAB1621DCD3CC8146EFB7A6213C0851926BCA0B528CA181C6EDBB515D0AB9230F636FCA72D21F32BF95D76BA330D41DD0F05EF72FF70747FC0B5D56DA5E3FEBED3F49DFB9343D600C7856675881A083AA61D61E73ABF35D5E038C291796D4021BAD6BCF3F9CE3A57FA25660292D7F3FF12DE0394D90E3B711C7E72AC06BB06CB753567972093DA8FCA3758B571375B1208D0CAEB7FF0E576A48D67782CE6DD9ABB81C7A18F517165259AD96669A37D9D2B4939598
|
||||
answer = BA0D89B51750E858D3211AF997FF63381487009E0BED9EE8161D546C7E8F19685800BF8C03000000FE000100C71CAEB9C6B1C9048E6C522F70F13F73980D40238E3E21C14934D037563D930F48198A0AA7C14058229493D22530F4DBFA336F6E0AC925139543AED44CCE7C3720FD51F69458705AC68CD4FE6B6B13ABDC9746512969328454F18FAF8C595F642477FE96BB2A941D5BCD1D4AC8CC49880708FA9B378E3C4F3A9060BEE67CF9A4A4A695811051907E162753B56B0F6B410DBA74D8A84B2A14B3144E0EF1284754FD17ED950D5965B4B9DD46582DB1178D169C6BC465B0D6FF9CA3928FEF5B9AE4E418FC15E83EBEA0F87FA9FF5EED70050DED2849F47BF959D956850CE929851F0D8115F635B105EE2E4E15D04B2454BF6F4FADF034B10403119CD8E3B92FCC5BFE000100B306B55DB37C55EDB9980AE4F7EC571EA89F6B880E19CF817B436811EF855A75D375848B8BD7653770E74847FADABBF565B0FF261F4686E389332E0B0208243E3E5C37DEBDD223DACADADB800F7520693EE4C8EA483EF21AAB1621DCD3CC8146EFB7A6213C0851926BCA0B528CA181C6EDBB515D0AB9230F636FCA72D21F32BF95D76BA330D41DD0F05EF72FF70747FC0B5D56DA5E3FEBED3F49DFB9343D600C7856675881A083AA61D61E73ABF35D5E038C291796D4021BAD6BCF3F9CE3A57FA25660292D7F3FF12DE0394D90E3B711C7E72AC06BB06CB753567972093DA8FCA3758B571375B1208D0CAEB7FF0E576A48D67782CE6DD9ABB81C7A18F517165259AD96669A37D9D2B4939598</code></pre>
|
||||
<pre><code>answer_with_hash = 670189FD50F3D59A5EC941A4EAD342811AC6A09ABA0D89B5F682BCAED66D37DFC85F2F8E455B24FACC5A5E988DE8260B1EA7A5AE5E9BB4B303000000FE000100C71CAEB9C6B1C9048E6C522F70F13F73980D40238E3E21C14934D037563D930F48198A0AA7C14058229493D22530F4DBFA336F6E0AC925139543AED44CCE7C3720FD51F69458705AC68CD4FE6B6B13ABDC9746512969328454F18FAF8C595F642477FE96BB2A941D5BCD1D4AC8CC49880708FA9B378E3C4F3A9060BEE67CF9A4A4A695811051907E162753B56B0F6B410DBA74D8A84B2A14B3144E0EF1284754FD17ED950D5965B4B9DD46582DB1178D169C6BC465B0D6FF9CA3928FEF5B9AE4E418FC15E83EBEA0F87FA9FF5EED70050DED2849F47BF959D956850CE929851F0D8115F635B105EE2E4E15D04B2454BF6F4FADF034B10403119CD8E3B92FCC5BFE0001007DEDF675D8B9D3A24D8100C528996BCE6CD61277BBAFC15F45C1A82E386AC197316701B9659F1E4097EDFB571A5D8FEEEEFFE26F63C68B5B00CD6F7522C6AA54BF96EAA9E6A7B4C190C81E058120C18547A8FA939DE594A50F3A1C4A24BD324607878FBB41C756AF0FB5F725236B9E2497662C94D9EABE63F92B28877CFAAB1636581B61344E2B979A4427FF809BE3DE60A7A0CB49A8AB5BD9B9319F4EC55557F7A58F0197D51B921F88842C873E786745AD16AC44B0FF7C34887E5A662BA8442AE988F111F5DFE79183182A92050151D9FE39523BA8C84EF98E26B0B6B4EB1553CD85C4112A29AFD0471D13F13434D2A1E7752B6E4BFE3E36EC9FDB78D36F162AC596669F9468246618AB15
|
||||
answer = BA0D89B5F682BCAED66D37DFC85F2F8E455B24FACC5A5E988DE8260B1EA7A5AE5E9BB4B303000000FE000100C71CAEB9C6B1C9048E6C522F70F13F73980D40238E3E21C14934D037563D930F48198A0AA7C14058229493D22530F4DBFA336F6E0AC925139543AED44CCE7C3720FD51F69458705AC68CD4FE6B6B13ABDC9746512969328454F18FAF8C595F642477FE96BB2A941D5BCD1D4AC8CC49880708FA9B378E3C4F3A9060BEE67CF9A4A4A695811051907E162753B56B0F6B410DBA74D8A84B2A14B3144E0EF1284754FD17ED950D5965B4B9DD46582DB1178D169C6BC465B0D6FF9CA3928FEF5B9AE4E418FC15E83EBEA0F87FA9FF5EED70050DED2849F47BF959D956850CE929851F0D8115F635B105EE2E4E15D04B2454BF6F4FADF034B10403119CD8E3B92FCC5BFE0001007DEDF675D8B9D3A24D8100C528996BCE6CD61277BBAFC15F45C1A82E386AC197316701B9659F1E4097EDFB571A5D8FEEEEFFE26F63C68B5B00CD6F7522C6AA54BF96EAA9E6A7B4C190C81E058120C18547A8FA939DE594A50F3A1C4A24BD324607878FBB41C756AF0FB5F725236B9E2497662C94D9EABE63F92B28877CFAAB1636581B61344E2B979A4427FF809BE3DE60A7A0CB49A8AB5BD9B9319F4EC55557F7A58F0197D51B921F88842C873E786745AD16AC44B0FF7C34887E5A662BA8442AE988F111F5DFE79183182A92050151D9FE39523BA8C84EF98E26B0B6B4EB1553CD85C4112A29AFD0471D13F13434D2A1E7752B6E4BFE3E36EC9FDB78D36F162AC596669F9468246618AB15</code></pre>
|
||||
<!-- end server_DH_inner_data_output -->
|
||||
<!-- start server_DH_inner_data -->
|
||||
<p>Generated payload (excluding transport headers/trailers):</p>
|
||||
<pre><code>0000 | BA 0D 89 B5 17 50 E8 58 D3 21 1A F9 97 FF 63 38
|
||||
0010 | 14 87 00 9E 0B ED 9E E8 16 1D 54 6C 7E 8F 19 68
|
||||
0020 | 58 00 BF 8C 03 00 00 00 FE 00 01 00 C7 1C AE B9
|
||||
<pre><code>0000 | BA 0D 89 B5 F6 82 BC AE D6 6D 37 DF C8 5F 2F 8E
|
||||
0010 | 45 5B 24 FA CC 5A 5E 98 8D E8 26 0B 1E A7 A5 AE
|
||||
0020 | 5E 9B B4 B3 03 00 00 00 FE 00 01 00 C7 1C AE B9
|
||||
0030 | C6 B1 C9 04 8E 6C 52 2F 70 F1 3F 73 98 0D 40 23
|
||||
0040 | 8E 3E 21 C1 49 34 D0 37 56 3D 93 0F 48 19 8A 0A
|
||||
0050 | A7 C1 40 58 22 94 93 D2 25 30 F4 DB FA 33 6F 6E
|
||||
|
@ -532,23 +532,23 @@ answer = BA0D89B51750E858D3211AF997FF63381487009E0BED9EE8161D546C7E8F19685800BF8
|
|||
0100 | F4 7B F9 59 D9 56 85 0C E9 29 85 1F 0D 81 15 F6
|
||||
0110 | 35 B1 05 EE 2E 4E 15 D0 4B 24 54 BF 6F 4F AD F0
|
||||
0120 | 34 B1 04 03 11 9C D8 E3 B9 2F CC 5B FE 00 01 00
|
||||
0130 | B3 06 B5 5D B3 7C 55 ED B9 98 0A E4 F7 EC 57 1E
|
||||
0140 | A8 9F 6B 88 0E 19 CF 81 7B 43 68 11 EF 85 5A 75
|
||||
0150 | D3 75 84 8B 8B D7 65 37 70 E7 48 47 FA DA BB F5
|
||||
0160 | 65 B0 FF 26 1F 46 86 E3 89 33 2E 0B 02 08 24 3E
|
||||
0170 | 3E 5C 37 DE BD D2 23 DA CA DA DB 80 0F 75 20 69
|
||||
0180 | 3E E4 C8 EA 48 3E F2 1A AB 16 21 DC D3 CC 81 46
|
||||
0190 | EF B7 A6 21 3C 08 51 92 6B CA 0B 52 8C A1 81 C6
|
||||
01A0 | ED BB 51 5D 0A B9 23 0F 63 6F CA 72 D2 1F 32 BF
|
||||
01B0 | 95 D7 6B A3 30 D4 1D D0 F0 5E F7 2F F7 07 47 FC
|
||||
01C0 | 0B 5D 56 DA 5E 3F EB ED 3F 49 DF B9 34 3D 60 0C
|
||||
01D0 | 78 56 67 58 81 A0 83 AA 61 D6 1E 73 AB F3 5D 5E
|
||||
01E0 | 03 8C 29 17 96 D4 02 1B AD 6B CF 3F 9C E3 A5 7F
|
||||
01F0 | A2 56 60 29 2D 7F 3F F1 2D E0 39 4D 90 E3 B7 11
|
||||
0200 | C7 E7 2A C0 6B B0 6C B7 53 56 79 72 09 3D A8 FC
|
||||
0210 | A3 75 8B 57 13 75 B1 20 8D 0C AE B7 FF 0E 57 6A
|
||||
0220 | 48 D6 77 82 CE 6D D9 AB B8 1C 7A 18 F5 17 16 52
|
||||
0230 | 59 AD 96 66</code></pre>
|
||||
0130 | 7D ED F6 75 D8 B9 D3 A2 4D 81 00 C5 28 99 6B CE
|
||||
0140 | 6C D6 12 77 BB AF C1 5F 45 C1 A8 2E 38 6A C1 97
|
||||
0150 | 31 67 01 B9 65 9F 1E 40 97 ED FB 57 1A 5D 8F EE
|
||||
0160 | EE FF E2 6F 63 C6 8B 5B 00 CD 6F 75 22 C6 AA 54
|
||||
0170 | BF 96 EA A9 E6 A7 B4 C1 90 C8 1E 05 81 20 C1 85
|
||||
0180 | 47 A8 FA 93 9D E5 94 A5 0F 3A 1C 4A 24 BD 32 46
|
||||
0190 | 07 87 8F BB 41 C7 56 AF 0F B5 F7 25 23 6B 9E 24
|
||||
01A0 | 97 66 2C 94 D9 EA BE 63 F9 2B 28 87 7C FA AB 16
|
||||
01B0 | 36 58 1B 61 34 4E 2B 97 9A 44 27 FF 80 9B E3 DE
|
||||
01C0 | 60 A7 A0 CB 49 A8 AB 5B D9 B9 31 9F 4E C5 55 57
|
||||
01D0 | F7 A5 8F 01 97 D5 1B 92 1F 88 84 2C 87 3E 78 67
|
||||
01E0 | 45 AD 16 AC 44 B0 FF 7C 34 88 7E 5A 66 2B A8 44
|
||||
01F0 | 2A E9 88 F1 11 F5 DF E7 91 83 18 2A 92 05 01 51
|
||||
0200 | D9 FE 39 52 3B A8 C8 4E F9 8E 26 B0 B6 B4 EB 15
|
||||
0210 | 53 CD 85 C4 11 2A 29 AF D0 47 1D 13 F1 34 34 D2
|
||||
0220 | A1 E7 75 2B 6E 4B FE 3E 36 EC 9F DB 78 D3 6F 16
|
||||
0230 | 2A C5 96 66</code></pre>
|
||||
<p>Payload (de)serialization:</p>
|
||||
<pre><code>server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data;</code></pre>
|
||||
<table class="table">
|
||||
|
@ -570,13 +570,13 @@ answer = BA0D89B51750E858D3211AF997FF63381487009E0BED9EE8161D546C7E8F19685800BF8
|
|||
<tr>
|
||||
<td>nonce</td>
|
||||
<td>4, 16</td>
|
||||
<td><code>1750E858D3211AF997FF63381487009E</code></td>
|
||||
<td><code>F682BCAED66D37DFC85F2F8E455B24FA</code></td>
|
||||
<td>Value generated by client in Step 1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>server_nonce</td>
|
||||
<td>20, 16</td>
|
||||
<td><code>0BED9EE8161D546C7E8F19685800BF8C</code></td>
|
||||
<td><code>CC5A5E988DE8260B1EA7A5AE5E9BB4B3</code></td>
|
||||
<td>Value received from server in Step 2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -594,13 +594,13 @@ answer = BA0D89B51750E858D3211AF997FF63381487009E0BED9EE8161D546C7E8F19685800BF8
|
|||
<tr>
|
||||
<td>g_a</td>
|
||||
<td>300, 260</td>
|
||||
<td><code>FE000100B306B55DB37C55EDB9980AE4</code> <code>F7EC571EA89F6B880E19CF817B436811</code> <code>EF855A75D375848B8BD7653770E74847</code> <code>FADABBF565B0FF261F4686E389332E0B</code> <code>0208243E3E5C37DEBDD223DACADADB80</code> <code>0F7520693EE4C8EA483EF21AAB1621DC</code> <code>D3CC8146EFB7A6213C0851926BCA0B52</code> <code>8CA181C6EDBB515D0AB9230F636FCA72</code> <code>D21F32BF95D76BA330D41DD0F05EF72F</code> <code>F70747FC0B5D56DA5E3FEBED3F49DFB9</code> <code>343D600C7856675881A083AA61D61E73</code> <code>ABF35D5E038C291796D4021BAD6BCF3F</code> <code>9CE3A57FA25660292D7F3FF12DE0394D</code> <code>90E3B711C7E72AC06BB06CB753567972</code> <code>093DA8FCA3758B571375B1208D0CAEB7</code> <code>FF0E576A48D67782CE6DD9ABB81C7A18</code><br> <code>F5171652</code></td>
|
||||
<td><code>FE0001007DEDF675D8B9D3A24D8100C5</code> <code>28996BCE6CD61277BBAFC15F45C1A82E</code> <code>386AC197316701B9659F1E4097EDFB57</code> <code>1A5D8FEEEEFFE26F63C68B5B00CD6F75</code> <code>22C6AA54BF96EAA9E6A7B4C190C81E05</code> <code>8120C18547A8FA939DE594A50F3A1C4A</code> <code>24BD324607878FBB41C756AF0FB5F725</code> <code>236B9E2497662C94D9EABE63F92B2887</code> <code>7CFAAB1636581B61344E2B979A4427FF</code> <code>809BE3DE60A7A0CB49A8AB5BD9B9319F</code> <code>4EC55557F7A58F0197D51B921F88842C</code> <code>873E786745AD16AC44B0FF7C34887E5A</code> <code>662BA8442AE988F111F5DFE79183182A</code> <code>92050151D9FE39523BA8C84EF98E26B0</code> <code>B6B4EB1553CD85C4112A29AFD0471D13</code> <code>F13434D2A1E7752B6E4BFE3E36EC9FDB</code><br> <code>78D36F16</code></td>
|
||||
<td><code>g_a</code> diffie-hellman parameter</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>server_time</td>
|
||||
<td>560, 4</td>
|
||||
<td><code>59AD9666</code> (1721150809 in decimal)</td>
|
||||
<td><code>2AC59666</code> (1721156906 in decimal)</td>
|
||||
<td>Server time</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -609,34 +609,34 @@ answer = BA0D89B51750E858D3211AF997FF63381487009E0BED9EE8161D546C7E8F19685800BF8
|
|||
<h5><a class="anchor" href="#7-client-computes-random-2048-bit-number-b-using-a-sufficient-amount-of-entropy-and-sends-the-server-a-message" id="7-client-computes-random-2048-bit-number-b-using-a-sufficient-amount-of-entropy-and-sends-the-server-a-message" name="7-client-computes-random-2048-bit-number-b-using-a-sufficient-amount-of-entropy-and-sends-the-server-a-message"><i class="anchor-icon"></i></a>7) Client computes random 2048-bit number <em>b</em> (using a sufficient amount of entropy) and sends the server a message</h5>
|
||||
<p>First, generate a secure random 2048-bit number b:</p>
|
||||
<!-- start b -->
|
||||
<pre><code>b = 7152AAB0367C48091DF69146FC9CE22D159C41C5BDFDA8EF171AC5CE3322C27A5218B01697A2FF0FF3FF5AF6F844F9681D192D5A528A774CBC1EE49EC1C31A9AF038DD44BCD84DAC5B0FB00181F724FC49D8C6B98960551D576C5625740FC84569FCF88F8933EDEF3BCB39057E741521E872697AF80F33019058ADA1B63A9680C5952C2183A7EE09B19E259DD485D8E68F5EB1532BADFE441692719C64F88C36DCADF0BF3D057D0BB00E6D210359A6B15DC81AF9E0AA3267FAD263E0172920F342659150D45BCC1CC961177E3ACAC4AEBDC10B159337284833501C248DAF81E1E4357B0398AE4822852BE132EBAE55E7F1E78E18696E73D143CE21C3067462AE</code></pre>
|
||||
<pre><code>b = A699E4796CABCA0136345536E4E469B4AE59E93F597F5CEC135DD20BD7D6CDF6324547EDFA7A2AE5C457C3D642FD153B31E62E5FE155997AA1586EF679D4E8EA9C7A67BDE5BBF6B750FDC1EAE43769439D55A1C8C5F4E681FDCAEFD4A0A4B1A2191E717D12390BB566AFAAC4E3A1F176E6AE5836E17401DB6CF0F54AB3D4ADE508C8F883C59C9AF7D70079A075758973424C89511A776C00120B02AC602813AAA2E6DF4D02B7E504386877471A847FB19A173F71DF81AE1BD259388A0BC4786DFBE78B7BA8A196A7D8FBB3A89322569E531393A2C302FF8CC2AF33EBF39D5D0886826A6B08C118AD9029EF2C8711DE320DD0FA487330AA6CA7E50AF0601B50E1</code></pre>
|
||||
<!-- end b -->
|
||||
<p>Then compute <code>g_b = pow(g, b) mod dh_prime</code></p>
|
||||
<!-- start g_b -->
|
||||
<pre><code>g_b = A2F08CF9322F4971F1393BDF31ECF56A8740010767A698433338CF762E402BC91F323FFFD2CA92ECEAB33A283A470997D2F42C225D24890EF4C3416AB5D559C106A194EC3D06D69F4E73D0435F8BC649108A9F2AACAAD8C056FE861BF7DB4E38C5C743A11D9952865E7B2D4B8A07E5F0310866224E1B934BBF4284F078D42ED79A537E968FDD985C5FD522BDFCAAEE1A0E97903880FCA1DF1EE5180158E4A38F1BD7FAFAE13CF72F4B8C66CD7893F10EA6AD32D479551FD825A3D6F0C9719AE34E4F971B00D7BBFCDBDFFA3520758286576F72D120D904FE538630FB7EB1CE5D23E3CB4C7B0505B30F9A6D77AA78802B83760B620EA6EEEFB616CA05388E68F8</code></pre>
|
||||
<pre><code>g_b = 7194579669F36B05764F00E733B5A802D7069AF48CE5EE603AA49011F354CAA1CD5F2DAACB18AB53C7D664CC07C21CF5741D6C5EAD61F25F56CE3A754BB2FB0CB98E3A41488C0638DF185B13C08DE52F592E7A1C8BFB51CA84FA6929E4A895226B5F7A9EA09BF721C9F917E90AD534092393F88E6950705B9B9C46C362C1D43D0D4729C39D9FA41F43DEFF8AA2AEFF0E1C15AAEF585F5473D82079387A35E078850AE07BB97606B4718DF49CC9BB5415B13D2C3153BE82E09C09949876E2E55F9756037A8191D61915F128B167168C13E083CCEFA96F15859DAB21AD836D2A18EC2464F4BFDB886682C6FED6A852B217ACC454686EACCC2DF3D43D2AF30F94DB</code></pre>
|
||||
<!-- end g_b -->
|
||||
<h6>7.1) generation of encrypted_data</h6>
|
||||
<!-- start client_DH_inner_data -->
|
||||
<p>Generated payload (excluding transport headers/trailers):</p>
|
||||
<pre><code>0000 | 54 B6 43 66 17 50 E8 58 D3 21 1A F9 97 FF 63 38
|
||||
0010 | 14 87 00 9E 0B ED 9E E8 16 1D 54 6C 7E 8F 19 68
|
||||
0020 | 58 00 BF 8C 00 00 00 00 00 00 00 00 FE 00 01 00
|
||||
0030 | A2 F0 8C F9 32 2F 49 71 F1 39 3B DF 31 EC F5 6A
|
||||
0040 | 87 40 01 07 67 A6 98 43 33 38 CF 76 2E 40 2B C9
|
||||
0050 | 1F 32 3F FF D2 CA 92 EC EA B3 3A 28 3A 47 09 97
|
||||
0060 | D2 F4 2C 22 5D 24 89 0E F4 C3 41 6A B5 D5 59 C1
|
||||
0070 | 06 A1 94 EC 3D 06 D6 9F 4E 73 D0 43 5F 8B C6 49
|
||||
0080 | 10 8A 9F 2A AC AA D8 C0 56 FE 86 1B F7 DB 4E 38
|
||||
0090 | C5 C7 43 A1 1D 99 52 86 5E 7B 2D 4B 8A 07 E5 F0
|
||||
00A0 | 31 08 66 22 4E 1B 93 4B BF 42 84 F0 78 D4 2E D7
|
||||
00B0 | 9A 53 7E 96 8F DD 98 5C 5F D5 22 BD FC AA EE 1A
|
||||
00C0 | 0E 97 90 38 80 FC A1 DF 1E E5 18 01 58 E4 A3 8F
|
||||
00D0 | 1B D7 FA FA E1 3C F7 2F 4B 8C 66 CD 78 93 F1 0E
|
||||
00E0 | A6 AD 32 D4 79 55 1F D8 25 A3 D6 F0 C9 71 9A E3
|
||||
00F0 | 4E 4F 97 1B 00 D7 BB FC DB DF FA 35 20 75 82 86
|
||||
0100 | 57 6F 72 D1 20 D9 04 FE 53 86 30 FB 7E B1 CE 5D
|
||||
0110 | 23 E3 CB 4C 7B 05 05 B3 0F 9A 6D 77 AA 78 80 2B
|
||||
0120 | 83 76 0B 62 0E A6 EE EF B6 16 CA 05 38 8E 68 F8</code></pre>
|
||||
<pre><code>0000 | 54 B6 43 66 F6 82 BC AE D6 6D 37 DF C8 5F 2F 8E
|
||||
0010 | 45 5B 24 FA CC 5A 5E 98 8D E8 26 0B 1E A7 A5 AE
|
||||
0020 | 5E 9B B4 B3 00 00 00 00 00 00 00 00 FE 00 01 00
|
||||
0030 | 71 94 57 96 69 F3 6B 05 76 4F 00 E7 33 B5 A8 02
|
||||
0040 | D7 06 9A F4 8C E5 EE 60 3A A4 90 11 F3 54 CA A1
|
||||
0050 | CD 5F 2D AA CB 18 AB 53 C7 D6 64 CC 07 C2 1C F5
|
||||
0060 | 74 1D 6C 5E AD 61 F2 5F 56 CE 3A 75 4B B2 FB 0C
|
||||
0070 | B9 8E 3A 41 48 8C 06 38 DF 18 5B 13 C0 8D E5 2F
|
||||
0080 | 59 2E 7A 1C 8B FB 51 CA 84 FA 69 29 E4 A8 95 22
|
||||
0090 | 6B 5F 7A 9E A0 9B F7 21 C9 F9 17 E9 0A D5 34 09
|
||||
00A0 | 23 93 F8 8E 69 50 70 5B 9B 9C 46 C3 62 C1 D4 3D
|
||||
00B0 | 0D 47 29 C3 9D 9F A4 1F 43 DE FF 8A A2 AE FF 0E
|
||||
00C0 | 1C 15 AA EF 58 5F 54 73 D8 20 79 38 7A 35 E0 78
|
||||
00D0 | 85 0A E0 7B B9 76 06 B4 71 8D F4 9C C9 BB 54 15
|
||||
00E0 | B1 3D 2C 31 53 BE 82 E0 9C 09 94 98 76 E2 E5 5F
|
||||
00F0 | 97 56 03 7A 81 91 D6 19 15 F1 28 B1 67 16 8C 13
|
||||
0100 | E0 83 CC EF A9 6F 15 85 9D AB 21 AD 83 6D 2A 18
|
||||
0110 | EC 24 64 F4 BF DB 88 66 82 C6 FE D6 A8 52 B2 17
|
||||
0120 | AC C4 54 68 6E AC CC 2D F3 D4 3D 2A F3 0F 94 DB</code></pre>
|
||||
<p>Payload (de)serialization:</p>
|
||||
<pre><code>client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data;</code></pre>
|
||||
<table class="table">
|
||||
|
@ -658,19 +658,19 @@ answer = BA0D89B51750E858D3211AF997FF63381487009E0BED9EE8161D546C7E8F19685800BF8
|
|||
<tr>
|
||||
<td>nonce</td>
|
||||
<td>4, 16</td>
|
||||
<td><code>1750E858D3211AF997FF63381487009E</code></td>
|
||||
<td><code>F682BCAED66D37DFC85F2F8E455B24FA</code></td>
|
||||
<td>Value generated by client in Step 1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>server_nonce</td>
|
||||
<td>20, 16</td>
|
||||
<td><code>0BED9EE8161D546C7E8F19685800BF8C</code></td>
|
||||
<td><code>CC5A5E988DE8260B1EA7A5AE5E9BB4B3</code></td>
|
||||
<td>Value received from server in Step 2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>g_b</td>
|
||||
<td>36, 260</td>
|
||||
<td><code>FE000100A2F08CF9322F4971F1393BDF</code> <code>31ECF56A8740010767A698433338CF76</code> <code>2E402BC91F323FFFD2CA92ECEAB33A28</code> <code>3A470997D2F42C225D24890EF4C3416A</code> <code>B5D559C106A194EC3D06D69F4E73D043</code> <code>5F8BC649108A9F2AACAAD8C056FE861B</code> <code>F7DB4E38C5C743A11D9952865E7B2D4B</code> <code>8A07E5F0310866224E1B934BBF4284F0</code> <code>78D42ED79A537E968FDD985C5FD522BD</code> <code>FCAAEE1A0E97903880FCA1DF1EE51801</code> <code>58E4A38F1BD7FAFAE13CF72F4B8C66CD</code> <code>7893F10EA6AD32D479551FD825A3D6F0</code> <code>C9719AE34E4F971B00D7BBFCDBDFFA35</code> <code>20758286576F72D120D904FE538630FB</code> <code>7EB1CE5D23E3CB4C7B0505B30F9A6D77</code> <code>AA78802B83760B620EA6EEEFB616CA05</code><br> <code>388E68F8</code></td>
|
||||
<td><code>FE0001007194579669F36B05764F00E7</code> <code>33B5A802D7069AF48CE5EE603AA49011</code> <code>F354CAA1CD5F2DAACB18AB53C7D664CC</code> <code>07C21CF5741D6C5EAD61F25F56CE3A75</code> <code>4BB2FB0CB98E3A41488C0638DF185B13</code> <code>C08DE52F592E7A1C8BFB51CA84FA6929</code> <code>E4A895226B5F7A9EA09BF721C9F917E9</code> <code>0AD534092393F88E6950705B9B9C46C3</code> <code>62C1D43D0D4729C39D9FA41F43DEFF8A</code> <code>A2AEFF0E1C15AAEF585F5473D8207938</code> <code>7A35E078850AE07BB97606B4718DF49C</code> <code>C9BB5415B13D2C3153BE82E09C099498</code> <code>76E2E55F9756037A8191D61915F128B1</code> <code>67168C13E083CCEFA96F15859DAB21AD</code> <code>836D2A18EC2464F4BFDB886682C6FED6</code> <code>A852B217ACC454686EACCC2DF3D43D2A</code><br> <code>F30F94DB</code></td>
|
||||
<td>Single-byte prefix denoting length, a 256-byte (2048-bit) string, and zero bytes of padding</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -684,47 +684,47 @@ answer = BA0D89B51750E858D3211AF997FF63381487009E0BED9EE8161D546C7E8F19685800BF8
|
|||
<!-- end client_DH_inner_data -->
|
||||
<p>The serialization of <em>Client_DH_Inner_Data</em> produces a string <strong>data</strong>. This is used to generate <strong>encrypted_data</strong> as specified in <a href="#7-client-computes-random-2048-bit-number-b-using-a-sufficient-amount-of-entropy-and-sends-the-server-a-message">step 6</a>, using the following inputs:</p>
|
||||
<!-- start client_DH_inner_data_input -->
|
||||
<pre><code>data = 54B643661750E858D3211AF997FF63381487009E0BED9EE8161D546C7E8F19685800BF8C0000000000000000FE000100A2F08CF9322F4971F1393BDF31ECF56A8740010767A698433338CF762E402BC91F323FFFD2CA92ECEAB33A283A470997D2F42C225D24890EF4C3416AB5D559C106A194EC3D06D69F4E73D0435F8BC649108A9F2AACAAD8C056FE861BF7DB4E38C5C743A11D9952865E7B2D4B8A07E5F0310866224E1B934BBF4284F078D42ED79A537E968FDD985C5FD522BDFCAAEE1A0E97903880FCA1DF1EE5180158E4A38F1BD7FAFAE13CF72F4B8C66CD7893F10EA6AD32D479551FD825A3D6F0C9719AE34E4F971B00D7BBFCDBDFFA3520758286576F72D120D904FE538630FB7EB1CE5D23E3CB4C7B0505B30F9A6D77AA78802B83760B620EA6EEEFB616CA05388E68F8
|
||||
padding = ED00C8F53C55B38032CF83B2
|
||||
tmp_aes_key = D6033BBD460A7C02ED99D2D600E445877B7BA4AF941E17E30626C8958828F6A4
|
||||
tmp_aes_iv = 0F195798C07F0E6F392CD4C04D237034D3647749B6D43C42EBC0D0DE8A2F9F65</code></pre>
|
||||
<pre><code>data = 54B64366F682BCAED66D37DFC85F2F8E455B24FACC5A5E988DE8260B1EA7A5AE5E9BB4B30000000000000000FE0001007194579669F36B05764F00E733B5A802D7069AF48CE5EE603AA49011F354CAA1CD5F2DAACB18AB53C7D664CC07C21CF5741D6C5EAD61F25F56CE3A754BB2FB0CB98E3A41488C0638DF185B13C08DE52F592E7A1C8BFB51CA84FA6929E4A895226B5F7A9EA09BF721C9F917E90AD534092393F88E6950705B9B9C46C362C1D43D0D4729C39D9FA41F43DEFF8AA2AEFF0E1C15AAEF585F5473D82079387A35E078850AE07BB97606B4718DF49CC9BB5415B13D2C3153BE82E09C09949876E2E55F9756037A8191D61915F128B167168C13E083CCEFA96F15859DAB21AD836D2A18EC2464F4BFDB886682C6FED6A852B217ACC454686EACCC2DF3D43D2AF30F94DB
|
||||
padding = 06DC26A83AEC6CB1B0C526E5
|
||||
tmp_aes_key = 192D215E748F95FD73801788B85F590E7C148D32D273A665210540C00EEA2526
|
||||
tmp_aes_iv = A16A3B38A557F03F6FD1E8EB5B40800EA012A1678A005E1D32D2C74D99168C34</code></pre>
|
||||
<!-- end client_DH_inner_data_input -->
|
||||
<p>Process:</p>
|
||||
<pre><code>data_with_hash := SHA1(data) + data + padding (0-15 random bytes such that total length is divisible by 16)
|
||||
encrypted_data := AES256_ige_encrypt (data_with_hash, tmp_aes_key, tmp_aes_iv);</code></pre>
|
||||
<p>Output:</p>
|
||||
<!-- start client_DH_inner_data_output -->
|
||||
<pre><code>encrypted_data = F37D452DF1ED77E24CD55A1D43122CB1D2380E1224C0C571466B6E1C821B6563CBA16395A76E3A8BC224ACE1B477B628E8FAC521EE25A78A032565A6D265B4827DDF7A02F17DB3376C3645B435F86325817163AA5BD462E31BF572F01C9527C0EFD64BCEE3587BD9E678BC3F22934BDAFA2149ABA95BA73E69DD02102B4E5803EB40DD5BF56869B8B9D816550E15B18548D0D212A7B6C79FAB555C108D21BB8A0F0612E3D7229821BCF806E1AE2C705A2E3AF63703D43E63D025C6B3F59A6B95C6BB8DA22AFFC6BB46D5B2FE0399763FC36DF2D985163A5398A9F7AFD195DFA40C2026F02803AA2109A988BA22E53683D4089CF281574E51249052D79DBA4EDCC0C61879F8DFBF3AE1D8617D4C8EBDD7A94F80CBCAFE7805BA0A3E7B58D50FC6A1A0C940B5277F1757726BA32A0D536299A3117FD03DD2124D714CA8B267A36BAE745796CB8ED66151BD85EB022D508B</code></pre>
|
||||
<pre><code>encrypted_data = A15623196EA32948FCC535C935A3EAFF396A1E7032891F2A55E24BC62C166D443F31189AF3E1A19CB51B43C44D52C0F28BC399E0FCD77BCACF2376366F1DCDC51A29FFD17E72B8D72AEC1C1F8E994905CA1011398D88F4BCAAB193F55EA8961BEDE4BB7247A5CE2C0015A22A1DFCC05C0806F9EFC168A50B7E4FB3E5716435042DED395CCF09EB80AB65DD008BAE71862018C2EE422F144CDAC177A6240560C403B6A441F4F5DADA0DFE7A422F958CD13FF75086162467984EC243A7613C86AF7FF1149F94F6195D10A05AB14A3982E1DAB6D5B19F9D082DEC84B2D7FD53C167223E61CA65FC196FF72E9BBB812E764C531BE83569A258604E211B471EA8FCF4675C29E2025D9027B8DFFC71264DA1D0F91DA1B61DA14B348FC1DEB88728145D1616AAFB461DBF26A7F046578A6240340CA4C7B7975DD2C85360766399515C87A4B3DD0102E3DA44ED1B505750369805</code></pre>
|
||||
<!-- end client_DH_inner_data_output -->
|
||||
<p>The length of the final string is 336 bytes.</p>
|
||||
<h6>7.2) set_client_DH_params query</h6>
|
||||
<!-- start set_client_DH_params -->
|
||||
<p>Sent payload (excluding transport headers/trailers):</p>
|
||||
<pre><code>0000 | 00 00 00 00 00 00 00 00 2C 03 02 00 59 AD 96 66
|
||||
0010 | 78 01 00 00 1F 5F 04 F5 17 50 E8 58 D3 21 1A F9
|
||||
0020 | 97 FF 63 38 14 87 00 9E 0B ED 9E E8 16 1D 54 6C
|
||||
0030 | 7E 8F 19 68 58 00 BF 8C FE 50 01 00 F3 7D 45 2D
|
||||
0040 | F1 ED 77 E2 4C D5 5A 1D 43 12 2C B1 D2 38 0E 12
|
||||
0050 | 24 C0 C5 71 46 6B 6E 1C 82 1B 65 63 CB A1 63 95
|
||||
0060 | A7 6E 3A 8B C2 24 AC E1 B4 77 B6 28 E8 FA C5 21
|
||||
0070 | EE 25 A7 8A 03 25 65 A6 D2 65 B4 82 7D DF 7A 02
|
||||
0080 | F1 7D B3 37 6C 36 45 B4 35 F8 63 25 81 71 63 AA
|
||||
0090 | 5B D4 62 E3 1B F5 72 F0 1C 95 27 C0 EF D6 4B CE
|
||||
00A0 | E3 58 7B D9 E6 78 BC 3F 22 93 4B DA FA 21 49 AB
|
||||
00B0 | A9 5B A7 3E 69 DD 02 10 2B 4E 58 03 EB 40 DD 5B
|
||||
00C0 | F5 68 69 B8 B9 D8 16 55 0E 15 B1 85 48 D0 D2 12
|
||||
00D0 | A7 B6 C7 9F AB 55 5C 10 8D 21 BB 8A 0F 06 12 E3
|
||||
00E0 | D7 22 98 21 BC F8 06 E1 AE 2C 70 5A 2E 3A F6 37
|
||||
00F0 | 03 D4 3E 63 D0 25 C6 B3 F5 9A 6B 95 C6 BB 8D A2
|
||||
0100 | 2A FF C6 BB 46 D5 B2 FE 03 99 76 3F C3 6D F2 D9
|
||||
0110 | 85 16 3A 53 98 A9 F7 AF D1 95 DF A4 0C 20 26 F0
|
||||
0120 | 28 03 AA 21 09 A9 88 BA 22 E5 36 83 D4 08 9C F2
|
||||
0130 | 81 57 4E 51 24 90 52 D7 9D BA 4E DC C0 C6 18 79
|
||||
0140 | F8 DF BF 3A E1 D8 61 7D 4C 8E BD D7 A9 4F 80 CB
|
||||
0150 | CA FE 78 05 BA 0A 3E 7B 58 D5 0F C6 A1 A0 C9 40
|
||||
0160 | B5 27 7F 17 57 72 6B A3 2A 0D 53 62 99 A3 11 7F
|
||||
0170 | D0 3D D2 12 4D 71 4C A8 B2 67 A3 6B AE 74 57 96
|
||||
0180 | CB 8E D6 61 51 BD 85 EB 02 2D 50 8B</code></pre>
|
||||
<pre><code>0000 | 00 00 00 00 00 00 00 00 40 40 0E 00 2A C5 96 66
|
||||
0010 | 78 01 00 00 1F 5F 04 F5 F6 82 BC AE D6 6D 37 DF
|
||||
0020 | C8 5F 2F 8E 45 5B 24 FA CC 5A 5E 98 8D E8 26 0B
|
||||
0030 | 1E A7 A5 AE 5E 9B B4 B3 FE 50 01 00 A1 56 23 19
|
||||
0040 | 6E A3 29 48 FC C5 35 C9 35 A3 EA FF 39 6A 1E 70
|
||||
0050 | 32 89 1F 2A 55 E2 4B C6 2C 16 6D 44 3F 31 18 9A
|
||||
0060 | F3 E1 A1 9C B5 1B 43 C4 4D 52 C0 F2 8B C3 99 E0
|
||||
0070 | FC D7 7B CA CF 23 76 36 6F 1D CD C5 1A 29 FF D1
|
||||
0080 | 7E 72 B8 D7 2A EC 1C 1F 8E 99 49 05 CA 10 11 39
|
||||
0090 | 8D 88 F4 BC AA B1 93 F5 5E A8 96 1B ED E4 BB 72
|
||||
00A0 | 47 A5 CE 2C 00 15 A2 2A 1D FC C0 5C 08 06 F9 EF
|
||||
00B0 | C1 68 A5 0B 7E 4F B3 E5 71 64 35 04 2D ED 39 5C
|
||||
00C0 | CF 09 EB 80 AB 65 DD 00 8B AE 71 86 20 18 C2 EE
|
||||
00D0 | 42 2F 14 4C DA C1 77 A6 24 05 60 C4 03 B6 A4 41
|
||||
00E0 | F4 F5 DA DA 0D FE 7A 42 2F 95 8C D1 3F F7 50 86
|
||||
00F0 | 16 24 67 98 4E C2 43 A7 61 3C 86 AF 7F F1 14 9F
|
||||
0100 | 94 F6 19 5D 10 A0 5A B1 4A 39 82 E1 DA B6 D5 B1
|
||||
0110 | 9F 9D 08 2D EC 84 B2 D7 FD 53 C1 67 22 3E 61 CA
|
||||
0120 | 65 FC 19 6F F7 2E 9B BB 81 2E 76 4C 53 1B E8 35
|
||||
0130 | 69 A2 58 60 4E 21 1B 47 1E A8 FC F4 67 5C 29 E2
|
||||
0140 | 02 5D 90 27 B8 DF FC 71 26 4D A1 D0 F9 1D A1 B6
|
||||
0150 | 1D A1 4B 34 8F C1 DE B8 87 28 14 5D 16 16 AA FB
|
||||
0160 | 46 1D BF 26 A7 F0 46 57 8A 62 40 34 0C A4 C7 B7
|
||||
0170 | 97 5D D2 C8 53 60 76 63 99 51 5C 87 A4 B3 DD 01
|
||||
0180 | 02 E3 DA 44 ED 1B 50 57 50 36 98 05</code></pre>
|
||||
<p>Payload (de)serialization:</p>
|
||||
<pre><code>set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer;</code></pre>
|
||||
<table class="table">
|
||||
|
@ -746,7 +746,7 @@ encrypted_data := AES256_ige_encrypt (data_with_hash, tmp_aes_key, tmp_aes_iv);<
|
|||
<tr>
|
||||
<td>message_id</td>
|
||||
<td>8, 8</td>
|
||||
<td><code>2C03020059AD9666</code></td>
|
||||
<td><code>40400E002AC59666</code></td>
|
||||
<td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() << 32) + (N*4)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -764,19 +764,19 @@ encrypted_data := AES256_ige_encrypt (data_with_hash, tmp_aes_key, tmp_aes_iv);<
|
|||
<tr>
|
||||
<td>nonce</td>
|
||||
<td>24, 16</td>
|
||||
<td><code>1750E858D3211AF997FF63381487009E</code></td>
|
||||
<td><code>F682BCAED66D37DFC85F2F8E455B24FA</code></td>
|
||||
<td>Value generated by client in Step 1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>server_nonce</td>
|
||||
<td>40, 16</td>
|
||||
<td><code>0BED9EE8161D546C7E8F19685800BF8C</code></td>
|
||||
<td><code>CC5A5E988DE8260B1EA7A5AE5E9BB4B3</code></td>
|
||||
<td>Value received from server in Step 2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>encrypted_data</td>
|
||||
<td>56, 340</td>
|
||||
<td><code>FE500100F37D452DF1ED77E24CD55A1D</code> <code>43122CB1D2380E1224C0C571466B6E1C</code> <code>821B6563CBA16395A76E3A8BC224ACE1</code> <code>B477B628E8FAC521EE25A78A032565A6</code> <code>D265B4827DDF7A02F17DB3376C3645B4</code> <code>35F86325817163AA5BD462E31BF572F0</code> <code>1C9527C0EFD64BCEE3587BD9E678BC3F</code> <code>22934BDAFA2149ABA95BA73E69DD0210</code> <code>2B4E5803EB40DD5BF56869B8B9D81655</code> <code>0E15B18548D0D212A7B6C79FAB555C10</code> <code>8D21BB8A0F0612E3D7229821BCF806E1</code> <code>AE2C705A2E3AF63703D43E63D025C6B3</code> <code>F59A6B95C6BB8DA22AFFC6BB46D5B2FE</code> <code>0399763FC36DF2D985163A5398A9F7AF</code> <code>D195DFA40C2026F02803AA2109A988BA</code> <code>22E53683D4089CF281574E51249052D7</code> <code>9DBA4EDCC0C61879F8DFBF3AE1D8617D</code> <code>4C8EBDD7A94F80CBCAFE7805BA0A3E7B</code> <code>58D50FC6A1A0C940B5277F1757726BA3</code> <code>2A0D536299A3117FD03DD2124D714CA8</code> <code>B267A36BAE745796CB8ED66151BD85EB</code><br> <code>022D508B</code></td>
|
||||
<td><code>FE500100A15623196EA32948FCC535C9</code> <code>35A3EAFF396A1E7032891F2A55E24BC6</code> <code>2C166D443F31189AF3E1A19CB51B43C4</code> <code>4D52C0F28BC399E0FCD77BCACF237636</code> <code>6F1DCDC51A29FFD17E72B8D72AEC1C1F</code> <code>8E994905CA1011398D88F4BCAAB193F5</code> <code>5EA8961BEDE4BB7247A5CE2C0015A22A</code> <code>1DFCC05C0806F9EFC168A50B7E4FB3E5</code> <code>716435042DED395CCF09EB80AB65DD00</code> <code>8BAE71862018C2EE422F144CDAC177A6</code> <code>240560C403B6A441F4F5DADA0DFE7A42</code> <code>2F958CD13FF75086162467984EC243A7</code> <code>613C86AF7FF1149F94F6195D10A05AB1</code> <code>4A3982E1DAB6D5B19F9D082DEC84B2D7</code> <code>FD53C167223E61CA65FC196FF72E9BBB</code> <code>812E764C531BE83569A258604E211B47</code> <code>1EA8FCF4675C29E2025D9027B8DFFC71</code> <code>264DA1D0F91DA1B61DA14B348FC1DEB8</code> <code>8728145D1616AAFB461DBF26A7F04657</code> <code>8A6240340CA4C7B7975DD2C853607663</code> <code>99515C87A4B3DD0102E3DA44ED1B5057</code><br> <code>50369805</code></td>
|
||||
<td>Encrypted client_DH_inner_data generated previously, serialized as a TL byte string</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -785,17 +785,17 @@ encrypted_data := AES256_ige_encrypt (data_with_hash, tmp_aes_key, tmp_aes_iv);<
|
|||
<h5><a class="anchor" href="#8-auth-key-generation" id="8-auth-key-generation" name="8-auth-key-generation"><i class="anchor-icon"></i></a>8) Auth key generation</h5>
|
||||
<p>The client computes the auth_key using formula <code>g_a^b mod dh_prime</code>:</p>
|
||||
<!-- start auth_key -->
|
||||
<pre><code>auth_key = 409689635BFCBFA597A18A73681CBC5B2D9E6821071CD8F372569527A1674E9B9E2D31EEB901F9CE31954A6CE7851A583448699B4DBFCFD32FA5B1A6DE933AB84F36BA14A84D6FBC1AE79AB428D5D6BCEE0C510E22E66CD250D757C73A5EDD6140A8290589B513B4ABC32A045FA8836FB34E71BADDE681DE6EAE2329018E995375FA6F08E792525B31798876553196935D9CE462BAD99DB0FB8E11F6F70E1F277A18970A5684A722085C1980E36343F8FF8DA820E0A5D6ACA0EA37B608595DF1F5D24EDF181DCFF62EA7C762910513F0B666757C964A8EF44E8190A9D56FEDEE2B8C113916B2FAFC60E0A987C713D28721254FA26A9675C9E3CD608ABD7D3FB5</code></pre>
|
||||
<pre><code>auth_key = 7A8DBBE072B65871B43946FBC9CDBDB5DAADA78C3935765EE381E72F692AF465FC193021CDC1455FEBA06F1C9BEADFBF57D1E2D947D0066BE4A81A60DF4FCEA4318572DEBF852865C4F838A2F1107C07578FCA780385FF1444F0D58BB9B8E98213F753FC1D4034E00EBE58D2784ADF85DB1C50E8992A0B4E34DA980983930E4C71303FB3596D105FF7CF58240E1EFA7F77BDF122B99FF0F20092879DAD8CC0E96478D62BD5B1BD3DA95D27BB59595B9653B16460DF98F9801972954FF6F7741CF8D7A43B54A129E2EAB47257D684231340AEB6628AF3177D1763E367050B85BA9A684D134B8080E5CAA2133106CF2C8A08F34E3224772E155382B296E96C2CF3</code></pre>
|
||||
<!-- end auth_key -->
|
||||
<h5><a class="anchor" href="#9-final-server-reply" id="9-final-server-reply" name="9-final-server-reply"><i class="anchor-icon"></i></a>9) Final server reply</h5>
|
||||
<p>The server verifies and confirms that auth_key_hash is unique: since it's unique, it replies with the following:</p>
|
||||
<!-- start dh_gen_ok -->
|
||||
<p>Received payload (excluding transport headers/trailers):</p>
|
||||
<pre><code>0000 | 00 00 00 00 00 00 00 00 01 F4 1A EE 59 AD 96 66
|
||||
0010 | 74 00 00 00 34 F7 CB 3B 17 50 E8 58 D3 21 1A F9
|
||||
0020 | 97 FF 63 38 14 87 00 9E 0B ED 9E E8 16 1D 54 6C
|
||||
0030 | 7E 8F 19 68 58 00 BF 8C ED B1 C0 6C C9 C9 79 E8
|
||||
0040 | 1E 65 51 A5 1D C8 F0 90</code></pre>
|
||||
<pre><code>0000 | 00 00 00 00 00 00 00 00 01 D0 FA CF 2B C5 96 66
|
||||
0010 | 38 00 00 00 34 F7 CB 3B F6 82 BC AE D6 6D 37 DF
|
||||
0020 | C8 5F 2F 8E 45 5B 24 FA CC 5A 5E 98 8D E8 26 0B
|
||||
0030 | 1E A7 A5 AE 5E 9B B4 B3 67 E4 27 DE DB F3 A7 8B
|
||||
0040 | 25 5E FB 96 7B 0D 55 38</code></pre>
|
||||
<p>Payload (de)serialization:</p>
|
||||
<pre><code>dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer;</code></pre>
|
||||
<table class="table">
|
||||
|
@ -817,13 +817,13 @@ encrypted_data := AES256_ige_encrypt (data_with_hash, tmp_aes_key, tmp_aes_iv);<
|
|||
<tr>
|
||||
<td>message_id</td>
|
||||
<td>8, 8</td>
|
||||
<td><code>01F41AEE59AD9666</code></td>
|
||||
<td><code>01D0FACF2BC59666</code></td>
|
||||
<td>Message ID generated as specified <a href="/mtproto/description#message-identifier-msg-id">here »</a> (unixtime() << 32) + (N*4)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>message_length</td>
|
||||
<td>16, 4</td>
|
||||
<td><code>74000000</code> (116 in decimal)</td>
|
||||
<td><code>38000000</code> (56 in decimal)</td>
|
||||
<td>Message body length</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -835,19 +835,19 @@ encrypted_data := AES256_ige_encrypt (data_with_hash, tmp_aes_key, tmp_aes_iv);<
|
|||
<tr>
|
||||
<td>nonce</td>
|
||||
<td>24, 16</td>
|
||||
<td><code>1750E858D3211AF997FF63381487009E</code></td>
|
||||
<td><code>F682BCAED66D37DFC85F2F8E455B24FA</code></td>
|
||||
<td>Value generated by client in Step 1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>server_nonce</td>
|
||||
<td>40, 16</td>
|
||||
<td><code>0BED9EE8161D546C7E8F19685800BF8C</code></td>
|
||||
<td><code>CC5A5E988DE8260B1EA7A5AE5E9BB4B3</code></td>
|
||||
<td>Value received from server in Step 2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>new_nonce_hash1</td>
|
||||
<td>56, 16</td>
|
||||
<td><code>EDB1C06CC9C979E81E6551A51DC8F090</code></td>
|
||||
<td><code>67E427DEDBF3A78B255EFB967B0D5538</code></td>
|
||||
<td>The 128 lower-order bits of SHA1 of the byte string derived from the <code>new_nonce</code> string by adding a single byte with the value of 1, 2, or 3, and followed by another 8 bytes with <code>auth_key_aux_hash</code>. Different values are required to prevent an intruder from changing server response dh_gen_ok into dh_gen_retry.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
|
@ -4,20 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>AvailableEffect</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
availableEffect
|
||||
Represents a message effect ».
|
||||
All long IDs except for id are document.ids…">
|
||||
<meta property="description" content="Describes a message effect ».">
|
||||
<meta property="og:title" content="AvailableEffect">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
availableEffect
|
||||
Represents a message effect ».
|
||||
All long IDs except for id are document.ids…">
|
||||
<meta property="og:description" content="Describes a message effect ».">
|
||||
<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">
|
||||
|
@ -52,7 +42,8 @@ All long IDs except for id are document.ids…">
|
|||
<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="/type/AvailableEffect" >AvailableEffect</a></li></ul></div>
|
||||
<h1 id="dev_page_title">AvailableEffect</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Describes a <a href="/api/effects">message effect »</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>
|
||||
|
@ -79,7 +70,10 @@ All long IDs except for id are document.ids…">
|
|||
<td>Represents a <a href="/api/effects">message effect »</a>.<br><br>All <code>long</code> IDs except for <code>id</code> are <a href="/constructor/document">document</a>.<code>id</code>s from the containing <a href="/constructor/messages.availableEffects">messages.availableEffects</a> constructor.<br><br>See <a href="/api/effects">here »</a> for more info on how to use following fields.</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="#animated-message-effects" id="animated-message-effects" name="animated-message-effects"><i class="anchor-icon"></i></a><a href="/api/effects">Animated message effects</a></h4>
|
||||
<p>Telegram allows adding spectacular <strong>animated effects</strong> to messages you send.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,20 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>Birthday</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
birthday
|
||||
Birthday information for a user.
|
||||
Also used to invite users to gift Telegram…">
|
||||
<meta property="description" content="Birthday information for a user.">
|
||||
<meta property="og:title" content="Birthday">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
birthday
|
||||
Birthday information for a user.
|
||||
Also used to invite users to gift Telegram…">
|
||||
<meta property="og:description" content="Birthday information for a user.">
|
||||
<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">
|
||||
|
@ -52,7 +42,8 @@ Also used to invite users to gift Telegram…">
|
|||
<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="/type/Birthday" >Birthday</a></li></ul></div>
|
||||
<h1 id="dev_page_title">Birthday</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p><a href="/api/profile#birthday">Birthday</a> information for a user.</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>
|
||||
|
@ -79,7 +70,10 @@ Also used to invite users to gift Telegram…">
|
|||
<td><a href="/api/profile#birthday">Birthday</a> information for a user.<br><br>Also used to invite users to gift <a href="/api/premium#gifting-telegram-premium">Telegram Premium subscriptions »</a> to other users with birthdays within a +1/-1 day time range, related to the current day.</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="#profile" id="profile" name="profile"><i class="anchor-icon"></i></a><a href="/api/profile">Profile</a></h4>
|
||||
<p>Telegram offers many customization options for your profile!</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -972,7 +972,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.toggleSponsoredMessages">account.toggleSponsoredMessages</a></td>
|
||||
<td> </td>
|
||||
<td>Disable or re-enable Telegram ads for the current <a href="/api/premium">Premium</a> account.<br><br>Useful for business owners that may want to launch and view their own Telegram ads via the <a href="https://ads.telegram.org">Telegram ad platform »</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/stories.togglePinnedToTop">stories.togglePinnedToTop</a></td>
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>BotBusinessConnection</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
botBusinessConnection
|
||||
Contains info about a bot business connection.">
|
||||
<meta property="description" content="Contains info about a bot business connection.">
|
||||
<meta property="og:title" content="BotBusinessConnection">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
botBusinessConnection
|
||||
Contains info about a bot business connection.">
|
||||
<meta property="og:description" content="Contains info about a bot business connection.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Contains info about a bot business connection.">
|
|||
<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="/type/BotBusinessConnection" >BotBusinessConnection</a></li></ul></div>
|
||||
<h1 id="dev_page_title">BotBusinessConnection</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Contains info about a <a href="/api/business#connected-bots">bot business connection</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>
|
||||
|
@ -77,7 +70,10 @@ Contains info about a bot business connection.">
|
|||
<td>Contains info about a <a href="/api/business#connected-bots">bot business connection</a>.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>BroadcastRevenueBalances</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
broadcastRevenueBalances
|
||||
">
|
||||
<meta property="description" content="Channel ad revenue balance » information.">
|
||||
<meta property="og:title" content="BroadcastRevenueBalances">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
broadcastRevenueBalances
|
||||
">
|
||||
<meta property="og:description" content="Channel ad revenue balance » information.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ broadcastRevenueBalances
|
|||
<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="/type/BroadcastRevenueBalances" >BroadcastRevenueBalances</a></li></ul></div>
|
||||
<h1 id="dev_page_title">BroadcastRevenueBalances</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p><a href="/api/revenue">Channel ad revenue balance »</a> information.</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>
|
||||
|
@ -77,7 +70,11 @@ broadcastRevenueBalances
|
|||
<td> </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="#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 <strong>most generous reward systems</strong> in the history of social media. Telegram channel owners can now receive <strong>50%</strong> of the revenue from ads displayed in their channels.</p>
|
||||
<p>This page describes the methods used to withdraw channel ad revenue, as well as view detailed revenue stats.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,24 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>BroadcastRevenueTransaction</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
broadcastRevenueTransactionProceeds
|
||||
|
||||
broadcastRevenueTransactionWithdrawal
|
||||
|
||||
bro…">
|
||||
<meta property="description" content="A channel ad revenue » transaction.">
|
||||
<meta property="og:title" content="BroadcastRevenueTransaction">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
broadcastRevenueTransactionProceeds
|
||||
|
||||
broadcastRevenueTransactionWithdrawal
|
||||
|
||||
bro…">
|
||||
<meta property="og:description" content="A channel ad revenue » transaction.">
|
||||
<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">
|
||||
|
@ -56,7 +42,8 @@ bro…">
|
|||
<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="/type/BroadcastRevenueTransaction" >BroadcastRevenueTransaction</a></li></ul></div>
|
||||
<h1 id="dev_page_title">BroadcastRevenueTransaction</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>A <a href="/api/revenue">channel ad revenue »</a> transaction.</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>
|
||||
|
@ -93,7 +80,11 @@ bro…">
|
|||
<td> </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="#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 <strong>most generous reward systems</strong> in the history of social media. Telegram channel owners can now receive <strong>50%</strong> of the revenue from ads displayed in their channels.</p>
|
||||
<p>This page describes the methods used to withdraw channel ad revenue, as well as view detailed revenue stats.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>BusinessAwayMessage</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessAwayMessage
|
||||
Describes a Telegram Business away message, automatically sent…">
|
||||
<meta property="description" content="Describes a Telegram Business away message, automatically sent to users writing to us when we're offline, during closing hours, while we're on vacation, or in some other custom time period when we cannot immediately answer to the user.">
|
||||
<meta property="og:title" content="BusinessAwayMessage">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessAwayMessage
|
||||
Describes a Telegram Business away message, automatically sent…">
|
||||
<meta property="og:description" content="Describes a Telegram Business away message, automatically sent to users writing to us when we're offline, during closing hours, while we're on vacation, or in some other custom time period when we cannot immediately answer to the user.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Describes a Telegram Business away message, automatically sent…">
|
|||
<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="/type/BusinessAwayMessage" >BusinessAwayMessage</a></li></ul></div>
|
||||
<h1 id="dev_page_title">BusinessAwayMessage</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Describes a <a href="/api/business#away-messages">Telegram Business away message</a>, automatically sent to users writing to us when we're offline, during closing hours, while we're on vacation, or in some other custom time period when we cannot immediately answer to the user.</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>
|
||||
|
@ -77,7 +70,10 @@ Describes a Telegram Business away message, automatically sent…">
|
|||
<td>Describes a <a href="/api/business#away-messages">Telegram Business away message</a>, automatically sent to users writing to us when we're offline, during closing hours, while we're on vacation, or in some other custom time period when we cannot immediately answer to the user.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>BusinessAwayMessageSchedule</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessAwayMessageScheduleAlways
|
||||
Always send Telegram Business away messages to users…">
|
||||
<meta property="description" content="Specifies when should the Telegram Business away messages be sent.">
|
||||
<meta property="og:title" content="BusinessAwayMessageSchedule">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessAwayMessageScheduleAlways
|
||||
Always send Telegram Business away messages to users…">
|
||||
<meta property="og:description" content="Specifies when should the Telegram Business away messages be sent.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Always send Telegram Business away messages to users…">
|
|||
<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="/type/BusinessAwayMessageSchedule" >BusinessAwayMessageSchedule</a></li></ul></div>
|
||||
<h1 id="dev_page_title">BusinessAwayMessageSchedule</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Specifies when should the <a href="/api/business#away-messages">Telegram Business away messages</a> be sent.</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>
|
||||
|
@ -87,7 +80,10 @@ Always send Telegram Business away messages to users…">
|
|||
<td>Send <a href="/api/business#away-messages">Telegram Business away messages</a> to users writing to us in private in the specified time span.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>BusinessBotRecipients</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessBotRecipients
|
||||
Specifies the private chats that a connected business bot »…">
|
||||
<meta property="description" content="Specifies the private chats that a connected business bot » may receive messages and interact with.">
|
||||
<meta property="og:title" content="BusinessBotRecipients">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessBotRecipients
|
||||
Specifies the private chats that a connected business bot »…">
|
||||
<meta property="og:description" content="Specifies the private chats that a connected business bot » may receive messages and interact with.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Specifies the private chats that a connected business bot »…">
|
|||
<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="/type/BusinessBotRecipients" >BusinessBotRecipients</a></li></ul></div>
|
||||
<h1 id="dev_page_title">BusinessBotRecipients</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Specifies the private chats that a <a href="/api/business#connected-bots">connected business bot »</a> may receive messages and interact with.</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>
|
||||
|
@ -77,7 +70,10 @@ Specifies the private chats that a connected business bot »…">
|
|||
<td>Specifies the private chats that a <a href="/api/business#connected-bots">connected business bot »</a> may receive messages and interact with.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>BusinessChatLink</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessChatLink
|
||||
Contains info about a business chat deep link » created by the current…">
|
||||
<meta property="description" content="Contains info about a business chat deep link » created by the current account.">
|
||||
<meta property="og:title" content="BusinessChatLink">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessChatLink
|
||||
Contains info about a business chat deep link » created by the current…">
|
||||
<meta property="og:description" content="Contains info about a business chat deep link » created by the current account.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Contains info about a business chat deep link » created by the current…">
|
|||
<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="/type/BusinessChatLink" >BusinessChatLink</a></li></ul></div>
|
||||
<h1 id="dev_page_title">BusinessChatLink</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Contains info about a <a href="/api/business#business-chat-links">business chat deep link »</a> created by the current account.</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>
|
||||
|
@ -101,7 +94,10 @@ Contains info about a business chat deep link » created by the current…">
|
|||
<td>Edit a created <a href="/api/business#business-chat-links">business chat deep link »</a>.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>BusinessGreetingMessage</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessGreetingMessage
|
||||
Describes a Telegram Business greeting, automatically sent…">
|
||||
<meta property="description" content="Describes a Telegram Business greeting, automatically sent to new users writing to us in private for the first time, or after a certain inactivity period.">
|
||||
<meta property="og:title" content="BusinessGreetingMessage">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessGreetingMessage
|
||||
Describes a Telegram Business greeting, automatically sent…">
|
||||
<meta property="og:description" content="Describes a Telegram Business greeting, automatically sent to new users writing to us in private for the first time, or after a certain inactivity period.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Describes a Telegram Business greeting, automatically sent…">
|
|||
<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="/type/BusinessGreetingMessage" >BusinessGreetingMessage</a></li></ul></div>
|
||||
<h1 id="dev_page_title">BusinessGreetingMessage</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Describes a <a href="/api/business#greeting-messages">Telegram Business greeting</a>, automatically sent to new users writing to us in private for the first time, or after a certain inactivity period.</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>
|
||||
|
@ -77,7 +70,10 @@ Describes a Telegram Business greeting, automatically sent…">
|
|||
<td>Describes a <a href="/api/business#greeting-messages">Telegram Business greeting</a>, automatically sent to new users writing to us in private for the first time, or after a certain inactivity period.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>BusinessIntro</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessIntro
|
||||
Telegram Business introduction ».">
|
||||
<meta property="description" content="Telegram Business introduction ».">
|
||||
<meta property="og:title" content="BusinessIntro">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessIntro
|
||||
Telegram Business introduction ».">
|
||||
<meta property="og:description" content="Telegram Business introduction ».">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Telegram Business introduction ».">
|
|||
<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="/type/BusinessIntro" >BusinessIntro</a></li></ul></div>
|
||||
<h1 id="dev_page_title">BusinessIntro</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p><a href="/api/business#business-introduction">Telegram Business introduction »</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>
|
||||
|
@ -77,7 +70,10 @@ Telegram Business introduction ».">
|
|||
<td><a href="/api/business#business-introduction">Telegram Business introduction »</a>.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>BusinessLocation</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessLocation
|
||||
Represents the location of a Telegram Business ».">
|
||||
<meta property="description" content="Represents the location of a Telegram Business ».">
|
||||
<meta property="og:title" content="BusinessLocation">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessLocation
|
||||
Represents the location of a Telegram Business ».">
|
||||
<meta property="og:description" content="Represents the location of a Telegram Business ».">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Represents the location of a Telegram Business ».">
|
|||
<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="/type/BusinessLocation" >BusinessLocation</a></li></ul></div>
|
||||
<h1 id="dev_page_title">BusinessLocation</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Represents the location of a <a href="/api/business#location">Telegram Business »</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>
|
||||
|
@ -77,7 +70,10 @@ Represents the location of a Telegram Business ».">
|
|||
<td>Represents the location of a <a href="/api/business#location">Telegram Business »</a>.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>BusinessRecipients</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessRecipients
|
||||
Specifies the chats that can receive Telegram Business away » and…">
|
||||
<meta property="description" content="Specifies the chats that can receive Telegram Business away » and greeting » messages.">
|
||||
<meta property="og:title" content="BusinessRecipients">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessRecipients
|
||||
Specifies the chats that can receive Telegram Business away » and…">
|
||||
<meta property="og:description" content="Specifies the chats that can receive Telegram Business away » and 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">
|
||||
|
@ -50,7 +42,8 @@ Specifies the chats that can receive Telegram Business away » and…">
|
|||
<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="/type/BusinessRecipients" >BusinessRecipients</a></li></ul></div>
|
||||
<h1 id="dev_page_title">BusinessRecipients</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Specifies the chats that <strong>can</strong> receive Telegram Business <a href="/api/business#away-message">away »</a> and <a href="/api/business#greeting-message">greeting »</a> messages.</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>
|
||||
|
@ -77,7 +70,10 @@ Specifies the chats that can receive Telegram Business away » and…">
|
|||
<td>Specifies the chats that <strong>can</strong> receive Telegram Business <a href="/api/business#away-message">away »</a> and <a href="/api/business#greeting-message">greeting »</a> messages.<br><br>If <code>exclude_selected</code> is set, specifies all chats that <strong>cannot</strong> receive Telegram Business <a href="/api/business#away-message">away »</a> and <a href="/api/business#greeting-message">greeting »</a> messages.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,20 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>BusinessWeeklyOpen</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessWeeklyOpen
|
||||
A time interval, indicating the opening hours of a business.
|
||||
Note…">
|
||||
<meta property="description" content="A time interval, indicating the opening hours of a Telegram Business.">
|
||||
<meta property="og:title" content="BusinessWeeklyOpen">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessWeeklyOpen
|
||||
A time interval, indicating the opening hours of a business.
|
||||
Note…">
|
||||
<meta property="og:description" content="A time interval, indicating the opening hours of a Telegram Business.">
|
||||
<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">
|
||||
|
@ -52,7 +42,8 @@ Note…">
|
|||
<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="/type/BusinessWeeklyOpen" >BusinessWeeklyOpen</a></li></ul></div>
|
||||
<h1 id="dev_page_title">BusinessWeeklyOpen</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>A time interval, indicating the opening hours of a <a href="/api/business#opening-hours">Telegram Business</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>
|
||||
|
@ -79,7 +70,10 @@ Note…">
|
|||
<td>A time interval, indicating the opening hours of a business.<br><br>Note that opening hours specified by the user must be appropriately validated and transformed before uploading them to the server, as specified <a href="/api/business#opening-hours">here »</a>.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>BusinessWorkHours</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessWorkHours
|
||||
Specifies a set of Telegram Business opening hours.">
|
||||
<meta property="description" content="Specifies a set of Telegram Business opening hours.">
|
||||
<meta property="og:title" content="BusinessWorkHours">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
businessWorkHours
|
||||
Specifies a set of Telegram Business opening hours.">
|
||||
<meta property="og:description" content="Specifies a set of Telegram Business opening hours.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Specifies a set of Telegram Business opening hours.">
|
|||
<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="/type/BusinessWorkHours" >BusinessWorkHours</a></li></ul></div>
|
||||
<h1 id="dev_page_title">BusinessWorkHours</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Specifies a set of <a href="/api/business#opening-hours">Telegram Business opening hours</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>
|
||||
|
@ -77,7 +70,10 @@ Specifies a set of Telegram Business opening hours.">
|
|||
<td>Specifies a set of <a href="/api/business#opening-hours">Telegram Business opening hours</a>.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>ConnectedBot</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
connectedBot
|
||||
Contains info about a connected business bot ».">
|
||||
<meta property="description" content="Contains info about a connected business bot ».">
|
||||
<meta property="og:title" content="ConnectedBot">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
connectedBot
|
||||
Contains info about a connected business bot ».">
|
||||
<meta property="og:description" content="Contains info about a connected business bot ».">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Contains info about a connected business bot ».">
|
|||
<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="/type/ConnectedBot" >ConnectedBot</a></li></ul></div>
|
||||
<h1 id="dev_page_title">ConnectedBot</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Contains info about a <a href="/api/business#connected-bots">connected business bot »</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>
|
||||
|
@ -77,7 +70,10 @@ Contains info about a connected business bot ».">
|
|||
<td>Contains info about a <a href="/api/business#connected-bots">connected business bot »</a>.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>ContactBirthday</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
contactBirthday
|
||||
Birthday information of a contact.">
|
||||
<meta property="description" content="Birthday information of a contact.">
|
||||
<meta property="og:title" content="ContactBirthday">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
contactBirthday
|
||||
Birthday information of a contact.">
|
||||
<meta property="og:description" content="Birthday information of a contact.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Birthday information of a contact.">
|
|||
<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="/type/ContactBirthday" >ContactBirthday</a></li></ul></div>
|
||||
<h1 id="dev_page_title">ContactBirthday</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Birthday information of a contact.</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>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<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="/type/EmojiGroup" >EmojiGroup</a></li></ul></div>
|
||||
<h1 id="dev_page_title">EmojiGroup</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Represents an <a href="/api/custom-emoji#emoji-categories">emoji category</a>.</p>
|
||||
<div id="dev_page_content"><p>Represents an <a href="/api/emoji-categories">emoji category</a>.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -69,7 +69,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/emojiGroup">emojiGroup</a></td>
|
||||
<td>Represents an <a href="/api/custom-emoji#emoji-categories">emoji category</a>.</td>
|
||||
<td>Represents an <a href="/api/emoji-categories">emoji category</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/emojiGroupGreeting">emojiGroupGreeting</a></td>
|
||||
|
@ -82,8 +82,8 @@
|
|||
</tbody>
|
||||
</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></div>
|
||||
<h4><a class="anchor" href="#emoji-categories" id="emoji-categories" name="emoji-categories"><i class="anchor-icon"></i></a><a href="/api/emoji-categories">Emoji categories</a></h4>
|
||||
<p>Sticker, custom emoji and GIF selection UIs should offer a list of categories to quickly filter results by a (list of) emojis, or by some other criteria.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>InputBusinessAwayMessage</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
inputBusinessAwayMessage
|
||||
Describes a Telegram Business away message, automatically…">
|
||||
<meta property="description" content="Describes a Telegram Business away message, automatically sent to users writing to us when we're offline, during closing hours, while we're on vacation, or in some other custom time period when we cannot immediately answer to the user.">
|
||||
<meta property="og:title" content="InputBusinessAwayMessage">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
inputBusinessAwayMessage
|
||||
Describes a Telegram Business away message, automatically…">
|
||||
<meta property="og:description" content="Describes a Telegram Business away message, automatically sent to users writing to us when we're offline, during closing hours, while we're on vacation, or in some other custom time period when we cannot immediately answer to the user.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Describes a Telegram Business away message, automatically…">
|
|||
<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="/type/InputBusinessAwayMessage" >InputBusinessAwayMessage</a></li></ul></div>
|
||||
<h1 id="dev_page_title">InputBusinessAwayMessage</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Describes a <a href="/api/business#away-messages">Telegram Business away message</a>, automatically sent to users writing to us when we're offline, during closing hours, while we're on vacation, or in some other custom time period when we cannot immediately answer to the user.</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>
|
||||
|
@ -77,7 +70,10 @@ Describes a Telegram Business away message, automatically…">
|
|||
<td>Describes a <a href="/api/business#away-messages">Telegram Business away message</a>, automatically sent to users writing to us when we're offline, during closing hours, while we're on vacation, or in some other custom time period when we cannot immediately answer to the user.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>InputBusinessBotRecipients</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
inputBusinessBotRecipients
|
||||
Specifies the private chats that a connected business bot…">
|
||||
<meta property="description" content="Specifies the private chats that a connected business bot » may interact with.">
|
||||
<meta property="og:title" content="InputBusinessBotRecipients">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
inputBusinessBotRecipients
|
||||
Specifies the private chats that a connected business bot…">
|
||||
<meta property="og:description" content="Specifies the private chats that a connected business bot » may interact with.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Specifies the private chats that a connected business bot…">
|
|||
<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="/type/InputBusinessBotRecipients" >InputBusinessBotRecipients</a></li></ul></div>
|
||||
<h1 id="dev_page_title">InputBusinessBotRecipients</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Specifies the private chats that a <a href="/api/business#connected-bots">connected business bot »</a> may interact with.</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>
|
||||
|
@ -77,7 +70,10 @@ Specifies the private chats that a connected business bot…">
|
|||
<td>Specifies the private chats that a <a href="/api/business#connected-bots">connected business bot »</a> may interact with.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>InputBusinessChatLink</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
inputBusinessChatLink
|
||||
Contains info about a business chat deep link » to be created…">
|
||||
<meta property="description" content="Contains info about a business chat deep link » to be created by the current account.">
|
||||
<meta property="og:title" content="InputBusinessChatLink">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
inputBusinessChatLink
|
||||
Contains info about a business chat deep link » to be created…">
|
||||
<meta property="og:description" content="Contains info about a business chat deep link » to be created by the current account.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Contains info about a business chat deep link » to be created…">
|
|||
<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="/type/InputBusinessChatLink" >InputBusinessChatLink</a></li></ul></div>
|
||||
<h1 id="dev_page_title">InputBusinessChatLink</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Contains info about a <a href="/api/business#business-chat-links">business chat deep link »</a> to be created by the current account.</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>
|
||||
|
@ -77,7 +70,10 @@ Contains info about a business chat deep link » to be created…">
|
|||
<td>Contains info about a <a href="/api/business#business-chat-links">business chat deep link »</a> to be created by the current account.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>InputBusinessGreetingMessage</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
inputBusinessGreetingMessage
|
||||
Describes a Telegram Business greeting, automatically…">
|
||||
<meta property="description" content="Describes a Telegram Business greeting, automatically sent to new users writing to us in private for the first time, or after a certain inactivity period.">
|
||||
<meta property="og:title" content="InputBusinessGreetingMessage">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
inputBusinessGreetingMessage
|
||||
Describes a Telegram Business greeting, automatically…">
|
||||
<meta property="og:description" content="Describes a Telegram Business greeting, automatically sent to new users writing to us in private for the first time, or after a certain inactivity period.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Describes a Telegram Business greeting, automatically…">
|
|||
<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="/type/InputBusinessGreetingMessage" >InputBusinessGreetingMessage</a></li></ul></div>
|
||||
<h1 id="dev_page_title">InputBusinessGreetingMessage</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Describes a <a href="/api/business#greeting-messages">Telegram Business greeting</a>, automatically sent to new users writing to us in private for the first time, or after a certain inactivity period.</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>
|
||||
|
@ -77,7 +70,10 @@ Describes a Telegram Business greeting, automatically…">
|
|||
<td>Describes a <a href="/api/business#greeting-messages">Telegram Business greeting</a>, automatically sent to new users writing to us in private for the first time, or after a certain inactivity period.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>InputBusinessIntro</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
inputBusinessIntro
|
||||
Telegram Business introduction ».">
|
||||
<meta property="description" content="Telegram Business introduction ».">
|
||||
<meta property="og:title" content="InputBusinessIntro">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
inputBusinessIntro
|
||||
Telegram Business introduction ».">
|
||||
<meta property="og:description" content="Telegram Business introduction ».">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Telegram Business introduction ».">
|
|||
<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="/type/InputBusinessIntro" >InputBusinessIntro</a></li></ul></div>
|
||||
<h1 id="dev_page_title">InputBusinessIntro</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p><a href="/api/business#business-introduction">Telegram Business introduction »</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>
|
||||
|
@ -77,7 +70,10 @@ Telegram Business introduction ».">
|
|||
<td><a href="/api/business#business-introduction">Telegram Business introduction »</a>.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>InputBusinessRecipients</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
inputBusinessRecipients
|
||||
Specifies the chats that can receive Telegram Business away…">
|
||||
<meta property="description" content="Specifies the chats that can receive Telegram Business away » and greeting » messages. If exclude_selected is set, specifies all chats that cannot receive Telegram Business away » and greeting » messages.">
|
||||
<meta property="og:title" content="InputBusinessRecipients">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
inputBusinessRecipients
|
||||
Specifies the chats that can receive Telegram Business away…">
|
||||
<meta property="og:description" content="Specifies the chats that can receive Telegram Business away » and greeting » messages. If exclude_selected is set, specifies all chats that cannot receive Telegram Business away » and 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">
|
||||
|
@ -50,7 +42,9 @@ Specifies the chats that can receive Telegram Business away…">
|
|||
<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="/type/InputBusinessRecipients" >InputBusinessRecipients</a></li></ul></div>
|
||||
<h1 id="dev_page_title">InputBusinessRecipients</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Specifies the chats that <strong>can</strong> receive Telegram Business <a href="/api/business#away-message">away »</a> and <a href="/api/business#greeting-message">greeting »</a> messages.</p>
|
||||
<p>If <code>exclude_selected</code> is set, specifies all chats that <strong>cannot</strong> receive Telegram Business <a href="/api/business#away-message">away »</a> and <a href="/api/business#greeting-message">greeting »</a> messages.</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>
|
||||
|
@ -77,7 +71,10 @@ Specifies the chats that can receive Telegram Business away…">
|
|||
<td>Specifies the chats that <strong>can</strong> receive Telegram Business <a href="/api/business#away-message">away »</a> and <a href="/api/business#greeting-message">greeting »</a> messages.<br><br>If <code>exclude_selected</code> is set, specifies all chats that <strong>cannot</strong> receive Telegram Business <a href="/api/business#away-message">away »</a> and <a href="/api/business#greeting-message">greeting »</a> messages.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>MissingInvitee</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
missingInvitee
|
||||
Info about why a specific user could not be invited ».">
|
||||
<meta property="description" content="Info about why a specific user could not be invited ».">
|
||||
<meta property="og:title" content="MissingInvitee">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
missingInvitee
|
||||
Info about why a specific user could not be invited ».">
|
||||
<meta property="og:description" content="Info about why a specific user could not be invited ».">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Info about why a specific user could not be invited ».">
|
|||
<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="/type/MissingInvitee" >MissingInvitee</a></li></ul></div>
|
||||
<h1 id="dev_page_title">MissingInvitee</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Info about why a specific user could not be <a href="/api/invites#direct-invites">invited »</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>
|
||||
|
@ -77,7 +70,10 @@ Info about why a specific user could not be invited ».">
|
|||
<td>Info about why a specific user could not be <a href="/api/invites#direct-invites">invited »</a>.</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="#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></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>QuickReply</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
quickReply
|
||||
A quick reply shortcut.">
|
||||
<meta property="description" content="A quick reply shortcut.">
|
||||
<meta property="og:title" content="QuickReply">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
quickReply
|
||||
A quick reply shortcut.">
|
||||
<meta property="og:description" content="A quick reply shortcut.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ A quick reply shortcut.">
|
|||
<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="/type/QuickReply" >QuickReply</a></li></ul></div>
|
||||
<h1 id="dev_page_title">QuickReply</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>A <a href="/api/business#quick-reply-shortcuts">quick reply shortcut</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>
|
||||
|
@ -77,7 +70,10 @@ A quick reply shortcut.">
|
|||
<td>A <a href="/api/business#quick-reply-shortcuts">quick reply shortcut</a>.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>ReactionsNotifySettings</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
reactionsNotifySettings
|
||||
Reaction notification settings, see here » for more info.…">
|
||||
<meta property="description" content="Reaction notification settings, see here » for more info.">
|
||||
<meta property="og:title" content="ReactionsNotifySettings">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
reactionsNotifySettings
|
||||
Reaction notification settings, see here » for more info.…">
|
||||
<meta property="og:description" content="Reaction notification settings, see here » for more info.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Reaction notification settings, see here » for more info.…">
|
|||
<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="/type/ReactionsNotifySettings" >ReactionsNotifySettings</a></li></ul></div>
|
||||
<h1 id="dev_page_title">ReactionsNotifySettings</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Reaction notification settings, see <a href="/api/reactions#notifications-about-reactions">here »</a> for more info.</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>
|
||||
|
@ -101,7 +94,10 @@ Reaction notification settings, see here » for more info.…">
|
|||
<td>Change the <a href="/api/reactions#notifications-about-reactions">reaction notification settings »</a>.</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="#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></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>SavedReactionTag</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
savedReactionTag
|
||||
Info about a saved message reaction tag ».">
|
||||
<meta property="description" content="Info about a saved message reaction tag ».">
|
||||
<meta property="og:title" content="SavedReactionTag">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
savedReactionTag
|
||||
Info about a saved message reaction tag ».">
|
||||
<meta property="og:description" content="Info about a saved message reaction tag ».">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Info about a saved message reaction tag ».">
|
|||
<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="/type/SavedReactionTag" >SavedReactionTag</a></li></ul></div>
|
||||
<h1 id="dev_page_title">SavedReactionTag</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Info about a <a href="/api/saved-messages#tags">saved message reaction tag »</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>
|
||||
|
@ -77,7 +70,10 @@ Info about a saved message reaction tag ».">
|
|||
<td>Info about a <a href="/api/saved-messages#tags">saved message reaction tag »</a>.</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="#saved-messages" id="saved-messages" name="saved-messages"><i class="anchor-icon"></i></a><a href="/api/saved-messages">Saved messages</a></h4>
|
||||
<p>The Saved Messages chat allows users to bookmark messages and media: it's a personal cloud storage for any messages or media you may want to send or forward there.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,28 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>SmsJob</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
smsJob
|
||||
Info about an SMS job.
|
||||
Methods
|
||||
Method
|
||||
Description
|
||||
smsjobs.getSmsJob
|
||||
Get info…">
|
||||
<meta property="description" content="Info about an SMS job.">
|
||||
<meta property="og:title" content="SmsJob">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
smsJob
|
||||
Info about an SMS job.
|
||||
Methods
|
||||
Method
|
||||
Description
|
||||
smsjobs.getSmsJob
|
||||
Get info…">
|
||||
<meta property="og:description" content="Info about an SMS job.">
|
||||
<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">
|
||||
|
@ -60,7 +42,8 @@ Get info…">
|
|||
<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="/type/SmsJob" >SmsJob</a></li></ul></div>
|
||||
<h1 id="dev_page_title">SmsJob</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Info about an SMS job.</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>
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>Timezone</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
timezone
|
||||
Timezone information.">
|
||||
<meta property="description" content="Timezone information.">
|
||||
<meta property="og:title" content="Timezone">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
timezone
|
||||
Timezone information.">
|
||||
<meta property="og:description" content="Timezone information.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Timezone information.">
|
|||
<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="/type/Timezone" >Timezone</a></li></ul></div>
|
||||
<h1 id="dev_page_title">Timezone</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Timezone information.</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>
|
||||
|
|
|
@ -623,7 +623,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/channels.restrictSponsoredMessages">channels.restrictSponsoredMessages</a></td>
|
||||
<td> </td>
|
||||
<td>Reduce ads on the specified channel, for all users.<br><br>Available only after reaching at least the <a href="/api/boost">boost level »</a> specified in the <a href="/api/config#channel-restrict-sponsored-level-min"><code>channel_restrict_sponsored_level_min</code> »</a> config parameter.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.editFactCheck">messages.editFactCheck</a></td>
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>account.BusinessChatLinks</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
account.businessChatLinks
|
||||
Contains info about business chat deep links » created by…">
|
||||
<meta property="description" content="Contains info about business chat deep links » created by the current account.">
|
||||
<meta property="og:title" content="account.BusinessChatLinks">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
account.businessChatLinks
|
||||
Contains info about business chat deep links » created by…">
|
||||
<meta property="og:description" content="Contains info about business chat deep links » created by the current account.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Contains info about business chat deep links » created by…">
|
|||
<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="/type/account.BusinessChatLinks" >account.BusinessChatLinks</a></li></ul></div>
|
||||
<h1 id="dev_page_title">account.BusinessChatLinks</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Contains info about <a href="/api/business#business-chat-links">business chat deep links »</a> created by the current account.</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,7 +89,10 @@ Contains info about business chat deep links » created by…">
|
|||
<td>List all created <a href="/api/business#business-chat-links">business chat deep links »</a>.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,22 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>account.ConnectedBots</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
account.connectedBots
|
||||
Info about currently connected business bots.
|
||||
Methods
|
||||
Method…">
|
||||
<meta property="description" content="Info about currently connected business bots.">
|
||||
<meta property="og:title" content="account.ConnectedBots">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
account.connectedBots
|
||||
Info about currently connected business bots.
|
||||
Methods
|
||||
Method…">
|
||||
<meta property="og:description" content="Info about currently connected business bots.">
|
||||
<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">
|
||||
|
@ -54,7 +42,8 @@ Method…">
|
|||
<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="/type/account.ConnectedBots" >account.ConnectedBots</a></li></ul></div>
|
||||
<h1 id="dev_page_title">account.ConnectedBots</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Info about 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>
|
||||
|
@ -100,7 +89,10 @@ Method…">
|
|||
<td>List all currently connected <a href="/api/business#connected-bots">business bots »</a></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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>account.ResolvedBusinessChatLinks</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
account.resolvedBusinessChatLinks
|
||||
Contains info about a single resolved business chat…">
|
||||
<meta property="description" content="Contains info about a single resolved business chat deep link ».">
|
||||
<meta property="og:title" content="account.ResolvedBusinessChatLinks">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
account.resolvedBusinessChatLinks
|
||||
Contains info about a single resolved business chat…">
|
||||
<meta property="og:description" content="Contains info about a single resolved business chat deep link ».">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Contains info about a single resolved business chat…">
|
|||
<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="/type/account.ResolvedBusinessChatLinks" >account.ResolvedBusinessChatLinks</a></li></ul></div>
|
||||
<h1 id="dev_page_title">account.ResolvedBusinessChatLinks</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Contains info about a single resolved <a href="/api/business#business-chat-links">business chat deep link »</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,7 +89,10 @@ Contains info about a single resolved business chat…">
|
|||
<td>Resolve a <a href="/api/business#business-chat-links">business chat deep link »</a>.</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="#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 pages, chatbot support, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,24 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>contacts.ContactBirthdays</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
contacts.contactBirthdays
|
||||
Birthday information of our contacts.
|
||||
Methods
|
||||
Method
|
||||
Description…">
|
||||
<meta property="description" content="Birthday information of our contacts.">
|
||||
<meta property="og:title" content="contacts.ContactBirthdays">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
contacts.contactBirthdays
|
||||
Birthday information of our contacts.
|
||||
Methods
|
||||
Method
|
||||
Description…">
|
||||
<meta property="og:description" content="Birthday information of our contacts.">
|
||||
<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">
|
||||
|
@ -56,7 +42,8 @@ Description…">
|
|||
<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="/type/contacts.ContactBirthdays" >contacts.ContactBirthdays</a></li></ul></div>
|
||||
<h1 id="dev_page_title">contacts.ContactBirthdays</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Birthday information of our contacts.</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>
|
||||
|
|
|
@ -106,7 +106,7 @@ Method…">
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getAvailableEffects">messages.getAvailableEffects</a></td>
|
||||
<td> </td>
|
||||
<td>Fetch the full list of usable <a href="/api/effects">animated message effects »</a>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<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="/type/messages.EmojiGroups" >messages.EmojiGroups</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.EmojiGroups</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>.</p>
|
||||
<div id="dev_page_content"><p>Represents a list of <a href="/api/emoji-categories">emoji categories</a>.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -75,11 +75,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/messages.emojiGroupsNotModified">messages.emojiGroupsNotModified</a></td>
|
||||
<td>The list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a> hasn't changed.</td>
|
||||
<td>The list of <a href="/api/emoji-categories">emoji categories</a> hasn't changed.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/messages.emojiGroups">messages.emojiGroups</a></td>
|
||||
<td>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>.</td>
|
||||
<td>Represents a list of <a href="/api/emoji-categories">emoji categories</a>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -94,25 +94,25 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getEmojiGroups">messages.getEmojiGroups</a></td>
|
||||
<td>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>, to be used when selecting <a href="/api/custom-emoji">custom emojis</a>.</td>
|
||||
<td>Represents a list of <a href="/api/emoji-categories">emoji categories</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getEmojiStatusGroups">messages.getEmojiStatusGroups</a></td>
|
||||
<td>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="/api">custom emoji status</a>.</td>
|
||||
<td>Represents a list of <a href="/api/emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="/api">custom emoji status</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getEmojiProfilePhotoGroups">messages.getEmojiProfilePhotoGroups</a></td>
|
||||
<td>Represents a list of <a href="/api/custom-emoji#emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="/api/files#sticker-profile-pictures">profile picture</a>.</td>
|
||||
<td>Represents a list of <a href="/api/emoji-categories">emoji categories</a>, to be used when selecting custom emojis to set as <a href="/api/files#sticker-profile-pictures">profile picture</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getEmojiStickerGroups">messages.getEmojiStickerGroups</a></td>
|
||||
<td> </td>
|
||||
<td>Represents a list of <a href="/api/emoji-categories">emoji categories</a>, to be used when choosing a sticker.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</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></div>
|
||||
<h4><a class="anchor" href="#emoji-categories" id="emoji-categories" name="emoji-categories"><i class="anchor-icon"></i></a><a href="/api/emoji-categories">Emoji categories</a></h4>
|
||||
<p>Sticker, custom emoji and GIF selection UIs should offer a list of categories to quickly filter results by a (list of) emojis, or by some other criteria.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messages.InvitedUsers</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
messages.invitedUsers
|
||||
Contains info about successfully or unsuccessfully invited »…">
|
||||
<meta property="description" content="Contains info about successfully or unsuccessfully invited » users.">
|
||||
<meta property="og:title" content="messages.InvitedUsers">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
messages.invitedUsers
|
||||
Contains info about successfully or unsuccessfully invited »…">
|
||||
<meta property="og:description" content="Contains info about successfully or unsuccessfully invited » users.">
|
||||
<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">
|
||||
|
@ -50,7 +42,8 @@ Contains info about successfully or unsuccessfully invited »…">
|
|||
<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="/type/messages.InvitedUsers" >messages.InvitedUsers</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.InvitedUsers</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Contains info about successfully or unsuccessfully <a href="/api/invites#direct-invites">invited »</a> users.</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>
|
||||
|
@ -107,7 +100,10 @@ Contains info about successfully or unsuccessfully invited »…">
|
|||
<td>Invite users to a channel/supergroup</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="#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></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,26 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>smsjobs.EligibilityToJoin</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
smsjobs.eligibleToJoin
|
||||
SMS jobs eligibility
|
||||
Methods
|
||||
Method
|
||||
Description
|
||||
smsjobs.isEligibleToJoin…">
|
||||
<meta property="description" content="SMS jobs eligibility">
|
||||
<meta property="og:title" content="smsjobs.EligibilityToJoin">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
smsjobs.eligibleToJoin
|
||||
SMS jobs eligibility
|
||||
Methods
|
||||
Method
|
||||
Description
|
||||
smsjobs.isEligibleToJoin…">
|
||||
<meta property="og:description" content="SMS jobs eligibility">
|
||||
<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 @@ smsjobs.isEligibleToJoin…">
|
|||
<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="/type/smsjobs.EligibilityToJoin" >smsjobs.EligibilityToJoin</a></li></ul></div>
|
||||
<h1 id="dev_page_title">smsjobs.EligibilityToJoin</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>SMS jobs eligibility</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>
|
||||
|
|
|
@ -4,28 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>smsjobs.Status</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
smsjobs.status
|
||||
Status
|
||||
Methods
|
||||
Method
|
||||
Description
|
||||
smsjobs.getStatus
|
||||
Get SMS jobs status…">
|
||||
<meta property="description" content="Status">
|
||||
<meta property="og:title" content="smsjobs.Status">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
smsjobs.status
|
||||
Status
|
||||
Methods
|
||||
Method
|
||||
Description
|
||||
smsjobs.getStatus
|
||||
Get SMS jobs status…">
|
||||
<meta property="og:description" content="Status">
|
||||
<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">
|
||||
|
@ -60,7 +42,8 @@ Get SMS jobs status…">
|
|||
<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="/type/smsjobs.Status" >smsjobs.Status</a></li></ul></div>
|
||||
<h1 id="dev_page_title">smsjobs.Status</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Status</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>
|
||||
|
|
|
@ -101,7 +101,7 @@ stats.getBroadcastRevenueStats…">
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/stats.getBroadcastRevenueStats">stats.getBroadcastRevenueStats</a></td>
|
||||
<td> </td>
|
||||
<td>Get <a href="/api/revenue">channel ad revenue statistics »</a>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -101,7 +101,7 @@ stats.getBroadcas…">
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/stats.getBroadcastRevenueTransactions">stats.getBroadcastRevenueTransactions</a></td>
|
||||
<td> </td>
|
||||
<td>Fetch <a href="/api/revenue">channel ad revenue transaction history »</a>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -101,7 +101,7 @@ stats.getBroadca…">
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/stats.getBroadcastRevenueWithdrawalUrl">stats.getBroadcastRevenueWithdrawalUrl</a></td>
|
||||
<td> </td>
|
||||
<td>Withdraw funds from a channel's <a href="/api/revenue">ad revenue balance »</a>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
Loading…
Add table
Reference in a new issue