mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-02-16 11:11:57 +01:00
Update content of files
This commit is contained in:
parent
1c6e408902
commit
37c310e8a9
20 changed files with 237 additions and 210 deletions
|
@ -66,13 +66,13 @@ Layer…">
|
|||
<li>Added <a href="/constructor/messageEntityCustomEmoji">messageEntityCustomEmoji</a> - </li>
|
||||
<li>Added <a href="/constructor/documentAttributeCustomEmoji">documentAttributeCustomEmoji</a> - </li>
|
||||
<li>Added <a href="/constructor/stickerSetFullCovered">stickerSetFullCovered</a> - </li>
|
||||
<li>Added <a href="/constructor/inputStorePaymentPremiumSubscription">inputStorePaymentPremiumSubscription</a> - </li>
|
||||
<li>Added <a href="/constructor/inputStorePaymentGiftPremium">inputStorePaymentGiftPremium</a> - </li>
|
||||
<li>Added <a href="/constructor/messageActionGiftPremium">messageActionGiftPremium</a> - </li>
|
||||
<li>Added <a href="/constructor/inputStorePaymentPremiumSubscription">inputStorePaymentPremiumSubscription</a> - Info about a Telegram Premium purchase</li>
|
||||
<li>Added <a href="/constructor/inputStorePaymentGiftPremium">inputStorePaymentGiftPremium</a> - Info about a gifted Telegram Premium purchase</li>
|
||||
<li>Added <a href="/constructor/messageActionGiftPremium">messageActionGiftPremium</a> - Info about a gifted Telegram Premium subscription</li>
|
||||
<li>Added <a href="/constructor/premiumGiftOption">premiumGiftOption</a> - </li>
|
||||
<li>Added <a href="/constructor/inputStickerSetPremiumGifts">inputStickerSetPremiumGifts</a> - </li>
|
||||
<li>Added <a href="/constructor/updateReadFeaturedEmojiStickers">updateReadFeaturedEmojiStickers</a> - </li>
|
||||
<li>Added <a href="/constructor/inputPrivacyKeyVoiceMessages">inputPrivacyKeyVoiceMessages</a> - </li>
|
||||
<li>Added <a href="/constructor/inputPrivacyKeyVoiceMessages">inputPrivacyKeyVoiceMessages</a> - Whether people can send you voice messages</li>
|
||||
<li>Added <a href="/constructor/privacyKeyVoiceMessages">privacyKeyVoiceMessages</a> - </li>
|
||||
<li>Added <a href="/constructor/paymentFormMethod">paymentFormMethod</a> - </li>
|
||||
<li>Added <a href="/constructor/inputWebFileAudioAlbumThumbLocation">inputWebFileAudioAlbumThumbLocation</a> - </li>
|
||||
|
@ -150,11 +150,11 @@ Layer…">
|
|||
<li>Added <a href="/constructor/attachMenuPeerTypeChat">attachMenuPeerTypeChat</a> - The bot attachment menu entry is available in <a href="/api/channel">groups and supergroups</a></li>
|
||||
<li>Added <a href="/constructor/attachMenuPeerTypeBroadcast">attachMenuPeerTypeBroadcast</a> - The bot attachment menu entry is available in channels</li>
|
||||
<li>Added <a href="/constructor/chatInvitePublicJoinRequests">chatInvitePublicJoinRequests</a> - </li>
|
||||
<li>Added <a href="/constructor/inputInvoiceMessage">inputInvoiceMessage</a> - </li>
|
||||
<li>Added <a href="/constructor/inputInvoiceSlug">inputInvoiceSlug</a> - </li>
|
||||
<li>Added <a href="/constructor/inputInvoiceMessage">inputInvoiceMessage</a> - An invoice contained in a <a href="/constructor/messageMediaInvoice">messageMediaInvoice</a> message.</li>
|
||||
<li>Added <a href="/constructor/inputInvoiceSlug">inputInvoiceSlug</a> - An invoice slug taken from a t.me/invoice/<slug> link or from the <a href="/api/config#client-configuration"><code>premium_invoice_slug</code> app config parameter »</a></slug></li>
|
||||
<li>Added <a href="/constructor/payments.exportedInvoice">payments.exportedInvoice</a> - </li>
|
||||
<li>Added <a href="/constructor/updateTranscribedAudio">updateTranscribedAudio</a> - </li>
|
||||
<li>Added <a href="/constructor/messages.transcribedAudio">messages.transcribedAudio</a> - </li>
|
||||
<li>Added <a href="/constructor/messages.transcribedAudio">messages.transcribedAudio</a> - Transcribed text from a voice message</li>
|
||||
<li>Added <a href="/constructor/dialogFilterDefault">dialogFilterDefault</a> - </li>
|
||||
<li>Added <a href="/constructor/help.premiumPromo">help.premiumPromo</a> - Telegram Premium promotion information</li>
|
||||
</ul>
|
||||
|
|
148
data/web/corefork.telegram.org/api/premium.html
Normal file
148
data/web/corefork.telegram.org/api/premium.html
Normal file
|
@ -0,0 +1,148 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Premium</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Premium feature identifiers
|
||||
double_limits - Doubled limits
|
||||
more_upload
|
||||
faster_download
|
||||
voice_to_text
|
||||
no_ads
|
||||
unique_reactions…">
|
||||
<meta property="og:title" content="Premium">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Premium feature identifiers
|
||||
double_limits - Doubled limits
|
||||
more_upload
|
||||
faster_download
|
||||
voice_to_text
|
||||
no_ads
|
||||
unique_reactions…">
|
||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
|
||||
<link rel="alternate icon" href="/img/favicon.ico" type="image/x-icon" />
|
||||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
|
||||
<link href="/css/telegram.css?231" rel="stylesheet" media="screen">
|
||||
<style>
|
||||
</style>
|
||||
</head>
|
||||
<body class="preload">
|
||||
<div class="dev_page_wrap">
|
||||
<div class="dev_page_head navbar navbar-static-top navbar-tg">
|
||||
<div class="navbar-inner">
|
||||
<div class="container clearfix">
|
||||
<ul class="nav navbar-nav navbar-right hidden-xs"><li class="navbar-twitter"><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)"><i class="icon icon-twitter"></i><span> Twitter</span></a></li></ul>
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="//telegram.org/">Home</a></li>
|
||||
<li class="hidden-xs"><a href="//telegram.org/faq">FAQ</a></li>
|
||||
<li class="hidden-xs"><a href="//telegram.org/apps">Apps</a></li>
|
||||
<li class="active"><a href="/api">API</a></li>
|
||||
<li class=""><a href="/mtproto">Protocol</a></li>
|
||||
<li class=""><a href="/schema">Schema</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container clearfix">
|
||||
<div class="dev_page">
|
||||
<div id="dev_page_content_wrap" class=" ">
|
||||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/api/premium" >Premium</a></li></ul></div>
|
||||
<h1 id="dev_page_title">Premium</h1>
|
||||
|
||||
<div id="dev_page_content"><!-- scroll_nav -->
|
||||
|
||||
<h3><a class="anchor" href="#premium-feature-identifiers" id="premium-feature-identifiers" name="premium-feature-identifiers"><i class="anchor-icon"></i></a>Premium feature identifiers</h3>
|
||||
<ul>
|
||||
<li>double_limits - Doubled limits</li>
|
||||
<li>more_upload</li>
|
||||
<li>faster_download</li>
|
||||
<li>voice_to_text</li>
|
||||
<li>no_ads</li>
|
||||
<li>unique_reactions</li>
|
||||
<li>premium_stickers</li>
|
||||
<li>advanced_chat_management</li>
|
||||
<li>profile_badge</li>
|
||||
<li>animated_userpics</li>
|
||||
<li>app_icons</li>
|
||||
</ul></div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer_wrap">
|
||||
<div class="footer_columns_wrap footer_desktop">
|
||||
<div class="footer_column footer_column_telegram">
|
||||
<h5>Telegram</h5>
|
||||
<div class="footer_telegram_description"></div>
|
||||
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.
|
||||
</div>
|
||||
|
||||
<div class="footer_column">
|
||||
<h5><a href="//telegram.org/faq">About</a></h5>
|
||||
<ul>
|
||||
<li><a href="//telegram.org/faq">FAQ</a></li>
|
||||
<li><a href="//telegram.org/blog">Blog</a></li>
|
||||
<li><a href="//telegram.org/jobs">Jobs</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer_column">
|
||||
<h5><a href="//telegram.org/apps#mobile-apps">Mobile Apps</a></h5>
|
||||
<ul>
|
||||
<li><a href="//telegram.org/dl/ios">iPhone/iPad</a></li>
|
||||
<li><a href="//telegram.org/dl/android">Android</a></li>
|
||||
<li><a href="//telegram.org/dl/wp">Windows Phone</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer_column">
|
||||
<h5><a href="//telegram.org/apps#desktop-apps">Desktop Apps</a></h5>
|
||||
<ul>
|
||||
<li><a href="//desktop.telegram.org/">PC/Mac/Linux</a></li>
|
||||
<li><a href="//macos.telegram.org/">macOS</a></li>
|
||||
<li><a href="//telegram.org/dl/web">Web-browser</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer_column footer_column_platform">
|
||||
<h5><a href="//core.telegram.org/">Platform</a></h5>
|
||||
<ul>
|
||||
<li><a href="//core.telegram.org/api">API</a></li>
|
||||
<li><a href="//translations.telegram.org/">Translations</a></li>
|
||||
<li><a href="//instantview.telegram.org/">Instant View</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer_columns_wrap footer_mobile">
|
||||
<div class="footer_column">
|
||||
<h5><a href="//telegram.org/faq">About</a></h5>
|
||||
</div>
|
||||
<div class="footer_column">
|
||||
<h5><a href="//telegram.org/blog">Blog</a></h5>
|
||||
</div>
|
||||
<div class="footer_column">
|
||||
<h5><a href="//telegram.org/apps">Apps</a></h5>
|
||||
</div>
|
||||
<div class="footer_column">
|
||||
<h5><a href="//core.telegram.org/">Platform</a></h5>
|
||||
</div>
|
||||
<div class="footer_column">
|
||||
<h5><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)">Twitter</a></h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/js/main.js?46"></script>
|
||||
<script src="/js/jquery.min.js?1"></script>
|
||||
<script src="/js/bootstrap.min.js?1"></script>
|
||||
|
||||
<script>window.initDevPageNav&&initDevPageNav();
|
||||
backToTopInit("Go up");
|
||||
removePreloadInit();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -79,27 +79,27 @@
|
|||
<tr>
|
||||
<td><strong>video_sections</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a><<a href="/type/string">string</a>></td>
|
||||
<td> </td>
|
||||
<td>A list of <a href="/api/premium">premium feature identifiers »</a>, associated to each video</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>videos</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a><<a href="/type/Document">Document</a>></td>
|
||||
<td> </td>
|
||||
<td>A list of videos</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>currency</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Three-letter ISO 4217 <a href="/bots/payments#supported-currencies">currency</a> code</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>monthly_amount</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/long">long</a></td>
|
||||
<td> </td>
|
||||
<td>Monthly price of the product in the smallest units of the currency (integer, not float/double). For example, for a price of <code>US$ 1.45</code> pass <code>amount = 145</code>. See the exp parameter in <a href="/bots/payments/currencies.json">currencies.json</a>, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>users</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a><<a href="/type/User">User</a>></td>
|
||||
<td> </td>
|
||||
<td>Related user information</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -107,7 +107,9 @@
|
|||
<p><a href="/type/help.PremiumPromo">help.PremiumPromo</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="#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>
|
||||
<p>How to create styled text with message entities</p></div>
|
||||
<p>How to create styled text with message entities</p>
|
||||
<h4><a class="anchor" href="#premium" id="premium" name="premium"><i class="anchor-icon"></i></a><a href="/api/premium">Premium</a></h4>
|
||||
<h4><a class="anchor" href="#bot-payments-api" id="bot-payments-api" name="bot-payments-api"><i class="anchor-icon"></i></a><a href="/bots/payments">Bot Payments API</a></h4></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,32 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>inputInvoiceMessage</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
peer
|
||||
InputPeer
|
||||
|
||||
msg_id
|
||||
int
|
||||
|
||||
Type
|
||||
InputInvoice">
|
||||
<meta property="description" content="An invoice contained in a messageMediaInvoice message.">
|
||||
<meta property="og:title" content="inputInvoiceMessage">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
peer
|
||||
InputPeer
|
||||
|
||||
msg_id
|
||||
int
|
||||
|
||||
Type
|
||||
InputInvoice">
|
||||
<meta property="og:description" content="An invoice contained in a messageMediaInvoice message.">
|
||||
<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 @@ InputInvoice">
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/inputInvoiceMessage" >inputInvoiceMessage</a></li></ul></div>
|
||||
<h1 id="dev_page_title">inputInvoiceMessage</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>An invoice contained in a <a href="/constructor/messageMediaInvoice">messageMediaInvoice</a> message.</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 144 <b class="caret"></b></a>
|
||||
|
@ -90,17 +69,20 @@ InputInvoice">
|
|||
<tr>
|
||||
<td><strong>peer</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
|
||||
<td> </td>
|
||||
<td>Chat where the invoice was sent</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>msg_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td> </td>
|
||||
<td>Message ID</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/InputInvoice">InputInvoice</a></p></div>
|
||||
<p><a href="/type/InputInvoice">InputInvoice</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="#messagemediainvoice" id="messagemediainvoice" name="messagemediainvoice"><i class="anchor-icon"></i></a><a href="/constructor/messageMediaInvoice">messageMediaInvoice</a></h4>
|
||||
<p>Invoice</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,26 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>inputInvoiceSlug</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
slug
|
||||
string
|
||||
|
||||
Type
|
||||
InputInvoice">
|
||||
<meta property="description" content="An invoice slug taken from a t.me/invoice/ link or from the premium_invoice_slug app config parameter »">
|
||||
<meta property="og:title" content="inputInvoiceSlug">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
slug
|
||||
string
|
||||
|
||||
Type
|
||||
InputInvoice">
|
||||
<meta property="og:description" content="An invoice slug taken from a t.me/invoice/ link or from the premium_invoice_slug app 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">
|
||||
|
@ -58,7 +42,8 @@ InputInvoice">
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/inputInvoiceSlug" >inputInvoiceSlug</a></li></ul></div>
|
||||
<h1 id="dev_page_title">inputInvoiceSlug</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>An invoice slug taken from a t.me/invoice/<slug> link or from the <a href="/api/config#client-configuration"><code>premium_invoice_slug</code> app config parameter »</a></slug></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 144 <b class="caret"></b></a>
|
||||
|
@ -84,12 +69,15 @@ InputInvoice">
|
|||
<tr>
|
||||
<td><strong>slug</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>The invoice slug</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/InputInvoice">InputInvoice</a></p></div>
|
||||
<p><a href="/type/InputInvoice">InputInvoice</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="#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,16 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>inputPrivacyKeyVoiceMessages</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Type
|
||||
InputPrivacyKey">
|
||||
<meta property="description" content="Whether people can send you voice messages">
|
||||
<meta property="og:title" content="inputPrivacyKeyVoiceMessages">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Type
|
||||
InputPrivacyKey">
|
||||
<meta property="og:description" content="Whether people can send you voice 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">
|
||||
|
@ -48,7 +42,8 @@ InputPrivacyKey">
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/inputPrivacyKeyVoiceMessages" >inputPrivacyKeyVoiceMessages</a></li></ul></div>
|
||||
<h1 id="dev_page_title">inputPrivacyKeyVoiceMessages</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Whether people can send you voice 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 144 <b class="caret"></b></a>
|
||||
|
|
|
@ -4,38 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>inputStorePaymentGiftPremium</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
user_id
|
||||
InputUser
|
||||
|
||||
currency
|
||||
string
|
||||
|
||||
amount
|
||||
long
|
||||
|
||||
Type
|
||||
InputStorePaymentPurpose">
|
||||
<meta property="description" content="Info about a gifted Telegram Premium purchase">
|
||||
<meta property="og:title" content="inputStorePaymentGiftPremium">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
user_id
|
||||
InputUser
|
||||
|
||||
currency
|
||||
string
|
||||
|
||||
amount
|
||||
long
|
||||
|
||||
Type
|
||||
InputStorePaymentPurpose">
|
||||
<meta property="og:description" content="Info about a gifted Telegram Premium purchase">
|
||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||
|
@ -70,7 +42,8 @@ InputStorePaymentPurpose">
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/inputStorePaymentGiftPremium" >inputStorePaymentGiftPremium</a></li></ul></div>
|
||||
<h1 id="dev_page_title">inputStorePaymentGiftPremium</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Info about a gifted Telegram Premium purchase</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 144 <b class="caret"></b></a>
|
||||
|
@ -96,22 +69,24 @@ InputStorePaymentPurpose">
|
|||
<tr>
|
||||
<td><strong>user_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/InputUser">InputUser</a></td>
|
||||
<td> </td>
|
||||
<td>The user to which the Telegram Premium subscription was gifted</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>currency</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Three-letter ISO 4217 <a href="/bots/payments#supported-currencies">currency</a> code</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>amount</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/long">long</a></td>
|
||||
<td> </td>
|
||||
<td>Price of the product in the smallest units of the currency (integer, not float/double). For example, for a price of <code>US$ 1.45</code> pass <code>amount = 145</code>. See the exp parameter in <a href="/bots/payments/currencies.json">currencies.json</a>, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/InputStorePaymentPurpose">InputStorePaymentPurpose</a></p></div>
|
||||
<p><a href="/type/InputStorePaymentPurpose">InputStorePaymentPurpose</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="#bot-payments-api" id="bot-payments-api" name="bot-payments-api"><i class="anchor-icon"></i></a><a href="/bots/payments">Bot Payments API</a></h4></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,32 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>inputStorePaymentPremiumSubscription</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
|
||||
restore
|
||||
flags.0?true
|
||||
|
||||
Type
|
||||
InputStorePaymentPurpose">
|
||||
<meta property="description" content="Info about a Telegram Premium purchase">
|
||||
<meta property="og:title" content="inputStorePaymentPremiumSubscription">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
flags
|
||||
#
|
||||
Flags, see TL conditional fields
|
||||
restore
|
||||
flags.0?true
|
||||
|
||||
Type
|
||||
InputStorePaymentPurpose">
|
||||
<meta property="og:description" content="Info about a Telegram Premium purchase">
|
||||
<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 @@ InputStorePaymentPurpose">
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/inputStorePaymentPremiumSubscription" >inputStorePaymentPremiumSubscription</a></li></ul></div>
|
||||
<h1 id="dev_page_title">inputStorePaymentPremiumSubscription</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Info about a Telegram Premium purchase</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 144 <b class="caret"></b></a>
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
<tr>
|
||||
<td><strong>recurring</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.9?<a href="/constructor/true">true</a></td>
|
||||
<td> </td>
|
||||
<td>Whether this is a recurring payment</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>currency</strong></td>
|
||||
|
@ -139,7 +139,7 @@
|
|||
<tr>
|
||||
<td><strong>recurring_terms_url</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.9?<a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Terms of service URL for the recurring payment</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -4,38 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messageActionGiftPremium</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
currency
|
||||
string
|
||||
|
||||
amount
|
||||
long
|
||||
|
||||
months
|
||||
int
|
||||
|
||||
Type
|
||||
MessageAction">
|
||||
<meta property="description" content="Info about a gifted Telegram Premium subscription">
|
||||
<meta property="og:title" content="messageActionGiftPremium">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
currency
|
||||
string
|
||||
|
||||
amount
|
||||
long
|
||||
|
||||
months
|
||||
int
|
||||
|
||||
Type
|
||||
MessageAction">
|
||||
<meta property="og:description" content="Info about a gifted Telegram Premium subscription">
|
||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||
|
@ -70,7 +42,8 @@ MessageAction">
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/messageActionGiftPremium" >messageActionGiftPremium</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messageActionGiftPremium</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Info about a gifted Telegram Premium subscription</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 144 <b class="caret"></b></a>
|
||||
|
@ -96,22 +69,24 @@ MessageAction">
|
|||
<tr>
|
||||
<td><strong>currency</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Three-letter ISO 4217 <a href="/bots/payments#supported-currencies">currency</a> code</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>amount</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/long">long</a></td>
|
||||
<td> </td>
|
||||
<td>Price of the gift in the smallest units of the currency (integer, not float/double). For example, for a price of <code>US$ 1.45</code> pass <code>amount = 145</code>. See the exp parameter in <a href="/bots/payments/currencies.json">currencies.json</a>, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>months</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td> </td>
|
||||
<td>Duration of the gifted Telegram Premium subscription</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/MessageAction">MessageAction</a></p></div>
|
||||
<p><a href="/type/MessageAction">MessageAction</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="#bot-payments-api" id="bot-payments-api" name="bot-payments-api"><i class="anchor-icon"></i></a><a href="/bots/payments">Bot Payments API</a></h4></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
<tr>
|
||||
<td><strong>recurring_init</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/constructor/true">true</a></td>
|
||||
<td> </td>
|
||||
<td>Whether this is a recurring payment</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>recurring_used</strong></td>
|
||||
|
@ -94,14 +94,16 @@
|
|||
<tr>
|
||||
<td><strong>invoice_slug</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>An invoice slug taken from a t.me/invoice/<slug> link or from the <a href="/api/config#client-configuration"><code>premium_invoice_slug</code> app config parameter »</a></slug></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/MessageAction">MessageAction</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="#bot-payments-api" id="bot-payments-api" name="bot-payments-api"><i class="anchor-icon"></i></a><a href="/bots/payments">Bot Payments API</a></h4></div>
|
||||
<h4><a class="anchor" href="#bot-payments-api" id="bot-payments-api" name="bot-payments-api"><i class="anchor-icon"></i></a><a href="/bots/payments">Bot Payments API</a></h4>
|
||||
<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>
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
<tr>
|
||||
<td><strong>nopremium</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/constructor/true">true</a></td>
|
||||
<td> </td>
|
||||
<td>Whether this is a normal sticker, if not set this is a premium sticker and a premium sticker animation must be played.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>document</strong></td>
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
<tr>
|
||||
<td><strong>reply_to_scheduled</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/constructor/true">true</a></td>
|
||||
<td> </td>
|
||||
<td>Whether this message replies to a scheduled message</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>reply_to_msg_id</strong></td>
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
<tr>
|
||||
<td><strong>premium</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 this is a premium stickerset</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>hash</strong></td>
|
||||
|
|
|
@ -4,32 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messages.transcribedAudio</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
|
||||
pending
|
||||
flags.0?true
|
||||
|
||||
transcription_id
|
||||
long…">
|
||||
<meta property="description" content="Transcribed text from a voice message">
|
||||
<meta property="og:title" content="messages.transcribedAudio">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
flags
|
||||
#
|
||||
Flags, see TL conditional fields
|
||||
pending
|
||||
flags.0?true
|
||||
|
||||
transcription_id
|
||||
long…">
|
||||
<meta property="og:description" content="Transcribed text from a voice message">
|
||||
<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 @@ long…">
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/messages.transcribedAudio" >messages.transcribedAudio</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.transcribedAudio</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Transcribed text from a voice message</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 144 <b class="caret"></b></a>
|
||||
|
@ -95,22 +74,24 @@ long…">
|
|||
<tr>
|
||||
<td><strong>pending</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 the transcription is partial because audio transcription is still in progress, if set the user may receive further <a href="/constructor/updateTranscribedAudio">updateTranscribedAudio</a> updates with the updated transcription.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>transcription_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/long">long</a></td>
|
||||
<td> </td>
|
||||
<td>Transcription ID</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>text</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Transcripted text</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/messages.TranscribedAudio">messages.TranscribedAudio</a></p></div>
|
||||
<p><a href="/type/messages.TranscribedAudio">messages.TranscribedAudio</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="#updatetranscribedaudio" id="updatetranscribedaudio" name="updatetranscribedaudio"><i class="anchor-icon"></i></a><a href="/constructor/updateTranscribedAudio">updateTranscribedAudio</a></h4></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -68,11 +68,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/inputInvoiceMessage">inputInvoiceMessage</a></td>
|
||||
<td> </td>
|
||||
<td>An invoice contained in a <a href="/constructor/messageMediaInvoice">messageMediaInvoice</a> message.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/inputInvoiceSlug">inputInvoiceSlug</a></td>
|
||||
<td> </td>
|
||||
<td>An invoice slug taken from a t.me/invoice/<slug> link or from the <a href="/api/config#client-configuration"><code>premium_invoice_slug</code> app config parameter »</a></slug></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/inputPrivacyKeyVoiceMessages">inputPrivacyKeyVoiceMessages</a></td>
|
||||
<td> </td>
|
||||
<td>Whether people can send you voice messages</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -68,11 +68,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/inputStorePaymentPremiumSubscription">inputStorePaymentPremiumSubscription</a></td>
|
||||
<td> </td>
|
||||
<td>Info about a Telegram Premium purchase</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/inputStorePaymentGiftPremium">inputStorePaymentGiftPremium</a></td>
|
||||
<td> </td>
|
||||
<td>Info about a gifted Telegram Premium purchase</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -227,7 +227,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/messageActionGiftPremium">messageActionGiftPremium</a></td>
|
||||
<td> </td>
|
||||
<td>Info about a gifted Telegram Premium subscription</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/messages.transcribedAudio">messages.transcribedAudio</a></td>
|
||||
<td> </td>
|
||||
<td>Transcribed text from a voice message</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Reference in a new issue