mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-29 07:52:37 +01:00
Update content of files
This commit is contained in:
parent
9353fbd215
commit
9bde7580be
56 changed files with 306 additions and 456 deletions
|
@ -51,9 +51,9 @@ Layer…">
|
|||
<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/messages.getCustomEmojiDocuments">messages.getCustomEmojiDocuments</a> - </li>
|
||||
<li>Added <a href="/method/messages.getEmojiStickers">messages.getEmojiStickers</a> - </li>
|
||||
<li>Added <a href="/method/messages.getFeaturedEmojiStickers">messages.getFeaturedEmojiStickers</a> - </li>
|
||||
<li>Added <a href="/method/messages.getCustomEmojiDocuments">messages.getCustomEmojiDocuments</a> - Fetch info about custom emojis.</li>
|
||||
<li>Added <a href="/method/messages.getEmojiStickers">messages.getEmojiStickers</a> - Gets the list of currently installed custom emoji stickersets.</li>
|
||||
<li>Added <a href="/method/messages.getFeaturedEmojiStickers">messages.getFeaturedEmojiStickers</a> - Gets featured custom emoji stickersets.</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>
|
||||
|
@ -63,18 +63,18 @@ Layer…">
|
|||
</ul>
|
||||
<h5><a class="anchor" href="#new-constructors" id="new-constructors" name="new-constructors"><i class="anchor-icon"></i></a>New Constructors</h5>
|
||||
<ul>
|
||||
<li>Added <a href="/constructor/messageEntityCustomEmoji">messageEntityCustomEmoji</a> - </li>
|
||||
<li>Added <a href="/constructor/documentAttributeCustomEmoji">documentAttributeCustomEmoji</a> - </li>
|
||||
<li>Added <a href="/constructor/messageEntityCustomEmoji">messageEntityCustomEmoji</a> - Represents a custom emoji</li>
|
||||
<li>Added <a href="/constructor/documentAttributeCustomEmoji">documentAttributeCustomEmoji</a> - Info about a custom emoji</li>
|
||||
<li>Added <a href="/constructor/stickerSetFullCovered">stickerSetFullCovered</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/premiumGiftOption">premiumGiftOption</a> - Telegram Premium gift option</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> - 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/paymentFormMethod">paymentFormMethod</a> - Represents a payment method</li>
|
||||
<li>Added <a href="/constructor/inputWebFileAudioAlbumThumbLocation">inputWebFileAudioAlbumThumbLocation</a> - </li>
|
||||
</ul>
|
||||
<h5><a class="anchor" href="#changed-constructors" id="changed-constructors" name="changed-constructors"><i class="anchor-icon"></i></a>Changed Constructors</h5>
|
||||
|
@ -152,7 +152,7 @@ Layer…">
|
|||
<li>Added <a href="/constructor/chatInvitePublicJoinRequests">chatInvitePublicJoinRequests</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/payments.exportedInvoice">payments.exportedInvoice</a> - Exported invoice</li>
|
||||
<li>Added <a href="/constructor/updateTranscribedAudio">updateTranscribedAudio</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>
|
||||
|
@ -288,10 +288,10 @@ Layer…">
|
|||
<li>Added <a href="/constructor/account.savedRingtonesNotModified">account.savedRingtonesNotModified</a> - The notification sound list hasn't changed.</li>
|
||||
<li>Added <a href="/constructor/account.savedRingtones">account.savedRingtones</a> - A list of saved notification sounds</li>
|
||||
<li>Added <a href="/constructor/updateSavedRingtones">updateSavedRingtones</a> - </li>
|
||||
<li>Added <a href="/constructor/notificationSoundDefault">notificationSoundDefault</a> - </li>
|
||||
<li>Added <a href="/constructor/notificationSoundNone">notificationSoundNone</a> - </li>
|
||||
<li>Added <a href="/constructor/notificationSoundLocal">notificationSoundLocal</a> - </li>
|
||||
<li>Added <a href="/constructor/notificationSoundRingtone">notificationSoundRingtone</a> - </li>
|
||||
<li>Added <a href="/constructor/notificationSoundDefault">notificationSoundDefault</a> - Indicates the default notification sound should be used</li>
|
||||
<li>Added <a href="/constructor/notificationSoundNone">notificationSoundNone</a> - No notification sound should be used</li>
|
||||
<li>Added <a href="/constructor/notificationSoundLocal">notificationSoundLocal</a> - Indicates a specific local notification sound should be used</li>
|
||||
<li>Added <a href="/constructor/notificationSoundRingtone">notificationSoundRingtone</a> - A specific previously uploaded notification sound should be used</li>
|
||||
<li>Added <a href="/constructor/account.savedRingtone">account.savedRingtone</a> - The notification sound was already in MP3 format and was saved without any modification</li>
|
||||
<li>Added <a href="/constructor/account.savedRingtoneConverted">account.savedRingtoneConverted</a> - The notification sound was not in MP3 format and was successfully converted and saved, use the returned <a href="/type/Document">Document</a> to refer to the notification sound from now on</li>
|
||||
</ul>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
<div id="dev_page_content"><p>In some situations <a href="/constructor/user">user</a> and <a href="/constructor/channel">channel</a> constructors have reduced set of fields present (although <code>id</code> is always there) and <code>min</code> flag set. This is done for performance and privacy reasons. </p>
|
||||
<p>When receiving said constructors, the client must first check if user or chat object without <code>min</code> flag is already present in local cache. If it is present, then the client should just ignore constructors with <code>min</code> flag and use local one instead.</p>
|
||||
<p><strong>The rest of article assumes the client receives min-constructor without full object in local cache.</strong></p>
|
||||
<p><strong>The rest of the article assumes the client receives a min-constructor and doesn't have the full object in its local cache.</strong></p>
|
||||
<p>The client must store the context (similar to <a href="/api/file_reference">file references</a>) in which the user/channel was seen. Later, when the client needs to pass the user/channel as input argument (e.g. fetch profile, mute, ban etc), the context is used to generate the <code>input*FromMessage</code> constructor, instead of normal <code>inputUser</code>, <code>inputChannel</code> or <code>inputPeer</code>.</p>
|
||||
<ul>
|
||||
<li><a href="/constructor/inputPeerUserFromMessage">inputPeerUserFromMessage</a></li>
|
||||
|
|
|
@ -4,38 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>documentAttributeCustomEmoji</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
|
||||
free
|
||||
flags.0?true
|
||||
|
||||
alt
|
||||
string
|
||||
|
||||
stickerset
|
||||
InputStickerSet…">
|
||||
<meta property="description" content="Info about a custom emoji">
|
||||
<meta property="og:title" content="documentAttributeCustomEmoji">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
flags
|
||||
#
|
||||
Flags, see TL conditional fields
|
||||
free
|
||||
flags.0?true
|
||||
|
||||
alt
|
||||
string
|
||||
|
||||
stickerset
|
||||
InputStickerSet…">
|
||||
<meta property="og:description" content="Info about a custom emoji">
|
||||
<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 @@ InputStickerSet…">
|
|||
<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/documentAttributeCustomEmoji" >documentAttributeCustomEmoji</a></li></ul></div>
|
||||
<h1 id="dev_page_title">documentAttributeCustomEmoji</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Info about a custom emoji</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>
|
||||
|
@ -106,12 +79,12 @@ InputStickerSet…">
|
|||
<tr>
|
||||
<td><strong>alt</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>The actual emoji</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>stickerset</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/InputStickerSet">InputStickerSet</a></td>
|
||||
<td> </td>
|
||||
<td>The emoji stickerset to which this emoji belongs.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -4,38 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messageEntityCustomEmoji</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
offset
|
||||
int
|
||||
|
||||
length
|
||||
int
|
||||
|
||||
document_id
|
||||
long
|
||||
|
||||
Type
|
||||
MessageEntity">
|
||||
<meta property="description" content="Represents a custom emoji">
|
||||
<meta property="og:title" content="messageEntityCustomEmoji">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
offset
|
||||
int
|
||||
|
||||
length
|
||||
int
|
||||
|
||||
document_id
|
||||
long
|
||||
|
||||
Type
|
||||
MessageEntity">
|
||||
<meta property="og:description" content="Represents a custom emoji">
|
||||
<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 @@ MessageEntity">
|
|||
<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/messageEntityCustomEmoji" >messageEntityCustomEmoji</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messageEntityCustomEmoji</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Represents a custom emoji</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,28 @@ MessageEntity">
|
|||
<tr>
|
||||
<td><strong>offset</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td> </td>
|
||||
<td>Offset of message entity within message (in <a href="/api/entities#entity-length">UTF-16 code units</a>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>length</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td> </td>
|
||||
<td>Length of message entity within message (in <a href="/api/entities#entity-length">UTF-16 code units</a>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>document_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/long">long</a></td>
|
||||
<td> </td>
|
||||
<td>Document ID of the custom emoji, use <a href="/method/messages.getCustomEmojiDocuments">messages.getCustomEmojiDocuments</a> to fetch the emoji animation and the actual emoji it represents.</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/MessageEntity">MessageEntity</a></p></div>
|
||||
<p><a href="/type/MessageEntity">MessageEntity</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>
|
||||
<h4><a class="anchor" href="#messagesgetcustomemojidocuments" id="messagesgetcustomemojidocuments" name="messagesgetcustomemojidocuments"><i class="anchor-icon"></i></a><a href="/method/messages.getCustomEmojiDocuments">messages.getCustomEmojiDocuments</a></h4>
|
||||
<p>Fetch info about custom emojis.</p>
|
||||
<p>Returns a list of <a href="/constructor/document">documents</a> with the animated custom emoji in TGS format, and a <a href="/constructor/documentAttributeCustomEmoji">documentAttributeCustomEmoji</a> attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,16 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>notificationSoundDefault</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
|
||||
NotificationSound">
|
||||
<meta property="description" content="Indicates the default notification sound should be used">
|
||||
<meta property="og:title" content="notificationSoundDefault">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Type
|
||||
NotificationSound">
|
||||
<meta property="og:description" content="Indicates the default notification sound should be used">
|
||||
<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 @@ NotificationSound">
|
|||
<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/notificationSoundDefault" >notificationSoundDefault</a></li></ul></div>
|
||||
<h1 id="dev_page_title">notificationSoundDefault</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Indicates the default notification sound should be used</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,32 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>notificationSoundLocal</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
title
|
||||
string
|
||||
|
||||
data
|
||||
string
|
||||
|
||||
Type
|
||||
NotificationSound">
|
||||
<meta property="description" content="Indicates a specific local notification sound should be used">
|
||||
<meta property="og:title" content="notificationSoundLocal">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
title
|
||||
string
|
||||
|
||||
data
|
||||
string
|
||||
|
||||
Type
|
||||
NotificationSound">
|
||||
<meta property="og:description" content="Indicates a specific local notification sound should be used">
|
||||
<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 @@ NotificationSound">
|
|||
<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/notificationSoundLocal" >notificationSoundLocal</a></li></ul></div>
|
||||
<h1 id="dev_page_title">notificationSoundLocal</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Indicates a specific local notification sound should be used</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,12 +69,12 @@ NotificationSound">
|
|||
<tr>
|
||||
<td><strong>title</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Notification sound title</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>data</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Notification sound identifier (arbitrary data used by the client to identify a specific local notification sound)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -4,16 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>notificationSoundNone</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
|
||||
NotificationSound">
|
||||
<meta property="description" content="No notification sound should be used">
|
||||
<meta property="og:title" content="notificationSoundNone">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Type
|
||||
NotificationSound">
|
||||
<meta property="og:description" content="No notification sound should be used">
|
||||
<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 @@ NotificationSound">
|
|||
<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/notificationSoundNone" >notificationSoundNone</a></li></ul></div>
|
||||
<h1 id="dev_page_title">notificationSoundNone</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>No notification sound should be used</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,26 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>notificationSoundRingtone</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
id
|
||||
long
|
||||
|
||||
Type
|
||||
NotificationSound">
|
||||
<meta property="description" content="A specific previously uploaded notification sound should be used">
|
||||
<meta property="og:title" content="notificationSoundRingtone">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
id
|
||||
long
|
||||
|
||||
Type
|
||||
NotificationSound">
|
||||
<meta property="og:description" content="A specific previously uploaded notification sound should be used">
|
||||
<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 @@ NotificationSound">
|
|||
<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/notificationSoundRingtone" >notificationSoundRingtone</a></li></ul></div>
|
||||
<h1 id="dev_page_title">notificationSoundRingtone</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>A specific previously uploaded notification sound should be used</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,14 @@ NotificationSound">
|
|||
<tr>
|
||||
<td><strong>id</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/long">long</a></td>
|
||||
<td> </td>
|
||||
<td>Document ID of notification sound uploaded using <a href="/method/account.uploadRingtone">account.uploadRingtone</a></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/NotificationSound">NotificationSound</a></p></div>
|
||||
<p><a href="/type/NotificationSound">NotificationSound</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="#accountuploadringtone" id="accountuploadringtone" name="accountuploadringtone"><i class="anchor-icon"></i></a><a href="/method/account.uploadRingtone">account.uploadRingtone</a></h4></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,32 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>paymentFormMethod</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
url
|
||||
string
|
||||
|
||||
title
|
||||
string
|
||||
|
||||
Type
|
||||
PaymentFormMethod">
|
||||
<meta property="description" content="Represents a payment method">
|
||||
<meta property="og:title" content="paymentFormMethod">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
url
|
||||
string
|
||||
|
||||
title
|
||||
string
|
||||
|
||||
Type
|
||||
PaymentFormMethod">
|
||||
<meta property="og:description" content="Represents a payment method">
|
||||
<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 @@ PaymentFormMethod">
|
|||
<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/paymentFormMethod" >paymentFormMethod</a></li></ul></div>
|
||||
<h1 id="dev_page_title">paymentFormMethod</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Represents a payment method</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,26 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>payments.exportedInvoice</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
url
|
||||
string
|
||||
|
||||
Type
|
||||
payments.ExportedInvoice">
|
||||
<meta property="description" content="Exported invoice">
|
||||
<meta property="og:title" content="payments.exportedInvoice">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
url
|
||||
string
|
||||
|
||||
Type
|
||||
payments.ExportedInvoice">
|
||||
<meta property="og:description" content="Exported invoice">
|
||||
<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 @@ payments.ExportedInvoice">
|
|||
<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/payments.exportedInvoice" >payments.exportedInvoice</a></li></ul></div>
|
||||
<h1 id="dev_page_title">payments.exportedInvoice</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Exported invoice</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,7 +69,7 @@ payments.ExportedInvoice">
|
|||
<tr>
|
||||
<td><strong>url</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Exported invoice URL</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -94,17 +94,17 @@
|
|||
<tr>
|
||||
<td><strong>title</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Form title</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>description</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>Description</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>photo</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.5?<a href="/type/WebDocument">WebDocument</a></td>
|
||||
<td> </td>
|
||||
<td>Product photo</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>invoice</strong></td>
|
||||
|
@ -134,7 +134,7 @@
|
|||
<tr>
|
||||
<td><strong>additional_methods</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.6?<a href="/type/Vector%20t">Vector</a><<a href="/type/PaymentFormMethod">PaymentFormMethod</a>></td>
|
||||
<td> </td>
|
||||
<td>Additional payment methods</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>saved_info</strong></td>
|
||||
|
|
|
@ -89,17 +89,17 @@
|
|||
<tr>
|
||||
<td><strong>ios_sound</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/NotificationSound">NotificationSound</a></td>
|
||||
<td> </td>
|
||||
<td>Notification sound for the official iOS application</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>android_sound</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.4?<a href="/type/NotificationSound">NotificationSound</a></td>
|
||||
<td> </td>
|
||||
<td>Notification sound for the official android application</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>other_sound</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.5?<a href="/type/NotificationSound">NotificationSound</a></td>
|
||||
<td> </td>
|
||||
<td>Notification sound for other applications</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
<tr>
|
||||
<td><strong>tcp</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 TCP should be used</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>id</strong></td>
|
||||
|
|
|
@ -4,40 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>premiumGiftOption</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
|
||||
months
|
||||
int
|
||||
|
||||
currency
|
||||
string
|
||||
|
||||
amount
|
||||
long
|
||||
…">
|
||||
<meta property="description" content="Telegram Premium gift option">
|
||||
<meta property="og:title" content="premiumGiftOption">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
flags
|
||||
#
|
||||
Flags, see TL conditional fields
|
||||
months
|
||||
int
|
||||
|
||||
currency
|
||||
string
|
||||
|
||||
amount
|
||||
long
|
||||
…">
|
||||
<meta property="og:description" content="Telegram Premium gift option">
|
||||
<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">
|
||||
|
@ -72,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/premiumGiftOption" >premiumGiftOption</a></li></ul></div>
|
||||
<h1 id="dev_page_title">premiumGiftOption</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Telegram Premium gift option</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>
|
||||
|
@ -103,17 +74,17 @@ long
|
|||
<tr>
|
||||
<td><strong>months</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td> </td>
|
||||
<td>Duration of gifted Telegram Premium subscription</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>
|
||||
<tr>
|
||||
<td><strong>bot_url</strong></td>
|
||||
|
@ -128,7 +99,9 @@ long
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/PremiumGiftOption">PremiumGiftOption</a></p></div>
|
||||
<p><a href="/type/PremiumGiftOption">PremiumGiftOption</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>
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@ hash
|
|||
long
|
||||
|
||||
Result
|
||||
account.SavedRingtones
|
||||
Bots can use this method">
|
||||
account.SavedRingtones">
|
||||
<meta property="og:title" content="account.getSavedRingtones">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -24,8 +23,7 @@ hash
|
|||
long
|
||||
|
||||
Result
|
||||
account.SavedRingtones
|
||||
Bots can use this method">
|
||||
account.SavedRingtones">
|
||||
<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">
|
||||
|
@ -94,8 +92,7 @@ Bots can use this method">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/account.SavedRingtones">account.SavedRingtones</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/account.SavedRingtones">account.SavedRingtones</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ unsave
|
|||
Bool
|
||||
|
||||
Result
|
||||
account.SavedRingtone
|
||||
Bots can use this method">
|
||||
account.SavedRingtone">
|
||||
<meta property="og:title" content="account.saveRingtone">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ unsave
|
|||
Bool
|
||||
|
||||
Result
|
||||
account.SavedRingtone
|
||||
Bots can use this method">
|
||||
account.SavedRingtone">
|
||||
<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">
|
||||
|
@ -105,8 +103,7 @@ Bots can use this method">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/account.SavedRingtone">account.SavedRingtone</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/account.SavedRingtone">account.SavedRingtone</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -18,8 +18,7 @@ mime_type
|
|||
string
|
||||
|
||||
Result
|
||||
Document
|
||||
Bots can use this…">
|
||||
Document">
|
||||
<meta property="og:title" content="account.uploadRingtone">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -36,8 +35,7 @@ mime_type
|
|||
string
|
||||
|
||||
Result
|
||||
Document
|
||||
Bots can use this…">
|
||||
Document">
|
||||
<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">
|
||||
|
@ -116,8 +114,7 @@ Bots can use this…">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/Document">Document</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/Document">Document</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -95,6 +95,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>DATA_JSON_INVALID</td>
|
||||
<td>The provided JSON data is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>QUERY_ID_INVALID</td>
|
||||
<td>The query ID is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -94,6 +94,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>DATA_JSON_INVALID</td>
|
||||
<td>The provided JSON data is invalid.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>METHOD_INVALID</td>
|
||||
<td>The specified method is invalid.</td>
|
||||
</tr>
|
||||
|
|
|
@ -13,7 +13,12 @@ ChatAdminRights
|
|||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
…">
|
||||
<meta property="og:title" content="bots.setBotBroadcastDefaultAdminRights">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -25,7 +30,12 @@ ChatAdminRights
|
|||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
…">
|
||||
<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">
|
||||
|
@ -95,6 +105,23 @@ Bots can use this method">
|
|||
</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>
|
||||
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Code</th>
|
||||
<th>Type</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>RIGHTS_NOT_MODIFIED</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -13,7 +13,12 @@ ChatAdminRights
|
|||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
…">
|
||||
<meta property="og:title" content="bots.setBotGroupDefaultAdminRights">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -25,7 +30,12 @@ ChatAdminRights
|
|||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description
|
||||
400
|
||||
…">
|
||||
<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">
|
||||
|
@ -95,6 +105,23 @@ Bots can use this method">
|
|||
</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>
|
||||
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Code</th>
|
||||
<th>Type</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>RIGHTS_NOT_MODIFIED</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -123,8 +123,7 @@
|
|||
<td>The specified participant ID is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -98,8 +98,7 @@
|
|||
<td>The provided peer id is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ enabled
|
|||
Bool
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this method">
|
||||
Updates">
|
||||
<meta property="og:title" content="channels.toggleJoinRequest">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ enabled
|
|||
Bool
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this method">
|
||||
Updates">
|
||||
<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">
|
||||
|
@ -110,8 +108,7 @@ Bots can use this method">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/Updates">Updates</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/Updates">Updates</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ enabled
|
|||
Bool
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this method">
|
||||
Updates">
|
||||
<meta property="og:title" content="channels.toggleJoinToSend">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ enabled
|
|||
Bool
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this method">
|
||||
Updates">
|
||||
<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">
|
||||
|
@ -110,8 +108,7 @@ Bots can use this method">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/Updates">Updates</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/Updates">Updates</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -7,15 +7,13 @@
|
|||
<meta property="description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
help.PremiumPromo
|
||||
Bots can use this method">
|
||||
help.PremiumPromo">
|
||||
<meta property="og:title" content="help.getPremiumPromo">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
This constructor does not require any parameters.
|
||||
Result
|
||||
help.PremiumPromo
|
||||
Bots can use this method">
|
||||
help.PremiumPromo">
|
||||
<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,8 +66,7 @@ Bots can use this method">
|
|||
<h3><a class="anchor" href="#parameters" id="parameters" name="parameters"><i class="anchor-icon"></i></a>Parameters</h3>
|
||||
<p>This constructor does not require any parameters.</p>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/help.PremiumPromo">help.PremiumPromo</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/help.PremiumPromo">help.PremiumPromo</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -120,8 +120,7 @@ BOT_INVALID…">
|
|||
<td>This is not a valid bot.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@ hash
|
|||
long
|
||||
|
||||
Result
|
||||
AttachMenuBots
|
||||
Bots can use this method">
|
||||
AttachMenuBots">
|
||||
<meta property="og:title" content="messages.getAttachMenuBots">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -24,8 +23,7 @@ hash
|
|||
long
|
||||
|
||||
Result
|
||||
AttachMenuBots
|
||||
Bots can use this method">
|
||||
AttachMenuBots">
|
||||
<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">
|
||||
|
@ -94,8 +92,7 @@ Bots can use this method">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/AttachMenuBots">AttachMenuBots</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/AttachMenuBots">AttachMenuBots</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,28 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messages.getCustomEmojiDocuments</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
document_id
|
||||
Vector<long>
|
||||
|
||||
Result
|
||||
Vector<Document>
|
||||
Bots can use this method">
|
||||
<meta property="description" content="Fetch info about custom emojis.">
|
||||
<meta property="og:title" content="messages.getCustomEmojiDocuments">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
document_id
|
||||
Vector<long>
|
||||
|
||||
Result
|
||||
Vector<Document>
|
||||
Bots can use this method">
|
||||
<meta property="og:description" content="Fetch info about custom emojis.">
|
||||
<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,9 @@ Bots can use this 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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/messages.getCustomEmojiDocuments" >messages.getCustomEmojiDocuments</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.getCustomEmojiDocuments</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Fetch info about custom emojis.</p>
|
||||
<p>Returns a list of <a href="/constructor/document">documents</a> with the animated custom emoji in TGS format, and a <a href="/constructor/documentAttributeCustomEmoji">documentAttributeCustomEmoji</a> attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.</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>
|
||||
|
@ -87,13 +71,20 @@ Bots can use this method">
|
|||
<tr>
|
||||
<td><strong>document_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a><<a href="/type/long">long</a>></td>
|
||||
<td> </td>
|
||||
<td>Custom emoji IDs from a <a href="/constructor/messageEntityCustomEmoji">messageEntityCustomEmoji</a>.</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/Vector%20t">Vector</a><<a href="/type/Document">Document</a>></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#messageentitycustomemoji" id="messageentitycustomemoji" name="messageentitycustomemoji"><i class="anchor-icon"></i></a><a href="/constructor/messageEntityCustomEmoji">messageEntityCustomEmoji</a></h4>
|
||||
<p>Represents a custom emoji</p>
|
||||
<h4><a class="anchor" href="#document" id="document" name="document"><i class="anchor-icon"></i></a><a href="/constructor/document">document</a></h4>
|
||||
<p>Document</p>
|
||||
<h4><a class="anchor" href="#documentattributecustomemoji" id="documentattributecustomemoji" name="documentattributecustomemoji"><i class="anchor-icon"></i></a><a href="/constructor/documentAttributeCustomEmoji">documentAttributeCustomEmoji</a></h4>
|
||||
<p>Info about a custom emoji</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,28 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messages.getEmojiStickers</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
hash
|
||||
long
|
||||
|
||||
Result
|
||||
messages.AllStickers
|
||||
Bots can use this method">
|
||||
<meta property="description" content="Gets the list of currently installed custom emoji stickersets.">
|
||||
<meta property="og:title" content="messages.getEmojiStickers">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
hash
|
||||
long
|
||||
|
||||
Result
|
||||
messages.AllStickers
|
||||
Bots can use this method">
|
||||
<meta property="og:description" content="Gets the list of currently installed custom emoji stickersets.">
|
||||
<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 @@ Bots can use this 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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/messages.getEmojiStickers" >messages.getEmojiStickers</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.getEmojiStickers</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Gets the list of currently installed custom emoji stickersets.</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>
|
||||
|
@ -94,8 +77,7 @@ Bots can use this method">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.AllStickers">messages.AllStickers</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/messages.AllStickers">messages.AllStickers</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,28 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messages.getFeaturedEmojiStickers</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
hash
|
||||
long
|
||||
|
||||
Result
|
||||
messages.FeaturedStickers
|
||||
Bots can use this method">
|
||||
<meta property="description" content="Gets featured custom emoji stickersets.">
|
||||
<meta property="og:title" content="messages.getFeaturedEmojiStickers">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
hash
|
||||
long
|
||||
|
||||
Result
|
||||
messages.FeaturedStickers
|
||||
Bots can use this method">
|
||||
<meta property="og:description" content="Gets featured custom emoji stickersets.">
|
||||
<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 @@ Bots can use this 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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/messages.getFeaturedEmojiStickers" >messages.getFeaturedEmojiStickers</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messages.getFeaturedEmojiStickers</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Gets featured custom emoji stickersets.</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>
|
||||
|
@ -94,8 +77,7 @@ Bots can use this method">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.FeaturedStickers">messages.FeaturedStickers</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/messages.FeaturedStickers">messages.FeaturedStickers</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -105,7 +105,6 @@
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.Messages">messages.Messages</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#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>
|
||||
|
|
|
@ -134,8 +134,7 @@ InputUser…">
|
|||
</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>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/Bool">Bool</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@ good
|
|||
Bool
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can…">
|
||||
Bool">
|
||||
<meta property="og:title" content="messages.rateTranscribedAudio">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -42,8 +41,7 @@ good
|
|||
Bool
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can…">
|
||||
Bool">
|
||||
<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">
|
||||
|
@ -127,8 +125,7 @@ Bots can…">
|
|||
</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>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/Bool">Bool</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -77,7 +77,6 @@
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.AffectedHistory">messages.AffectedHistory</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#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>
|
||||
|
|
|
@ -118,8 +118,7 @@ flags.0?DataJSON…">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/SimpleWebViewResult">SimpleWebViewResult</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/SimpleWebViewResult">SimpleWebViewResult</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -142,8 +142,7 @@ flags.5?true…">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/WebViewResult">WebViewResult</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/WebViewResult">WebViewResult</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@ data
|
|||
string
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots…">
|
||||
Updates">
|
||||
<meta property="og:title" content="messages.sendWebViewData">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -42,8 +41,7 @@ data
|
|||
string
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots…">
|
||||
Updates">
|
||||
<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">
|
||||
|
@ -132,8 +130,7 @@ Bots…">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/Updates">Updates</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/Updates">Updates</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ InputBotInlineResult
|
|||
|
||||
Result
|
||||
WebViewMessageSent
|
||||
Bots can…">
|
||||
Possible…">
|
||||
<meta property="og:title" content="messages.sendWebViewResultMessage">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -31,7 +31,7 @@ InputBotInlineResult
|
|||
|
||||
Result
|
||||
WebViewMessageSent
|
||||
Bots can…">
|
||||
Possible…">
|
||||
<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">
|
||||
|
@ -105,6 +105,23 @@ Bots can…">
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/WebViewMessageSent">WebViewMessageSent</a></p>
|
||||
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Code</th>
|
||||
<th>Type</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>QUERY_ID_INVALID</td>
|
||||
<td>The query ID is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -15,8 +15,7 @@ enabled
|
|||
Bool
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<meta property="og:title" content="messages.toggleBotInAttachMenu">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ enabled
|
|||
Bool
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<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">
|
||||
|
@ -105,8 +103,7 @@ Bots can use this method">
|
|||
</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>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/Bool">Bool</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ msg_id
|
|||
int
|
||||
|
||||
Result
|
||||
messages.TranscribedAudio
|
||||
Bots can use this method">
|
||||
messages.TranscribedAudio">
|
||||
<meta property="og:title" content="messages.transcribeAudio">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ msg_id
|
|||
int
|
||||
|
||||
Result
|
||||
messages.TranscribedAudio
|
||||
Bots can use this method">
|
||||
messages.TranscribedAudio">
|
||||
<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">
|
||||
|
@ -104,8 +102,7 @@ Bots can use this method">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.TranscribedAudio">messages.TranscribedAudio</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/messages.TranscribedAudio">messages.TranscribedAudio</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ purpose
|
|||
InputStorePaymentPurpose
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this method">
|
||||
Updates">
|
||||
<meta property="og:title" content="payments.assignAppStoreTransaction">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ purpose
|
|||
InputStorePaymentPurpose
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this method">
|
||||
Updates">
|
||||
<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">
|
||||
|
@ -110,8 +108,7 @@ Bots can use this method">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/Updates">Updates</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/Updates">Updates</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ purpose
|
|||
InputStorePaymentPurpose
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this…">
|
||||
Updates">
|
||||
<meta property="og:title" content="payments.assignPlayMarketTransaction">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ purpose
|
|||
InputStorePaymentPurpose
|
||||
|
||||
Result
|
||||
Updates
|
||||
Bots can use this…">
|
||||
Updates">
|
||||
<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">
|
||||
|
@ -110,8 +108,7 @@ Bots can use this…">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/Updates">Updates</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/Updates">Updates</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@ purpose
|
|||
InputStorePaymentPurpose
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<meta property="og:title" content="payments.canPurchasePremium">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -24,8 +23,7 @@ purpose
|
|||
InputStorePaymentPurpose
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<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">
|
||||
|
@ -94,8 +92,7 @@ Bots can use this method">
|
|||
</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>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/Bool">Bool</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -13,7 +13,10 @@ InputMedia
|
|||
|
||||
Result
|
||||
payments.ExportedInvoice
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description…">
|
||||
<meta property="og:title" content="payments.exportInvoice">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -25,7 +28,10 @@ InputMedia
|
|||
|
||||
Result
|
||||
payments.ExportedInvoice
|
||||
Bots can use this method">
|
||||
Possible errors
|
||||
Code
|
||||
Type
|
||||
Description…">
|
||||
<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">
|
||||
|
@ -94,6 +100,23 @@ Bots can use this method">
|
|||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/payments.ExportedInvoice">payments.ExportedInvoice</a></p>
|
||||
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Code</th>
|
||||
<th>Type</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>400</td>
|
||||
<td>MEDIA_INVALID</td>
|
||||
<td>Media invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -18,7 +18,7 @@ invoice_media
|
|||
InputMedia
|
||||
|
||||
Result
|
||||
Updates…">
|
||||
Updates">
|
||||
<meta property="og:title" content="payments.requestRecurringPayment">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -35,7 +35,7 @@ invoice_media
|
|||
InputMedia
|
||||
|
||||
Result
|
||||
Updates…">
|
||||
Updates">
|
||||
<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">
|
||||
|
@ -119,8 +119,7 @@ Updates…">
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/Updates">Updates</a></p>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/Updates">Updates</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ file
|
|||
InputFile
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<meta property="og:title" content="phone.saveCallLog">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
|
@ -30,8 +29,7 @@ file
|
|||
InputFile
|
||||
|
||||
Result
|
||||
Bool
|
||||
Bots can use this method">
|
||||
Bool">
|
||||
<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">
|
||||
|
@ -105,8 +103,7 @@ Bots can use this method">
|
|||
</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>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<p><a href="/type/Bool">Bool</a></p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1125,29 +1125,6 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#working-with-animated-emojis" id="working-with-animated-emojis" name="working-with-animated-emojis"><i class="anchor-icon"></i></a>Working with animated emojis</h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getCustomEmojiDocuments">messages.getCustomEmojiDocuments</a></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getEmojiStickers">messages.getEmojiStickers</a></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getFeaturedEmojiStickers">messages.getFeaturedEmojiStickers</a></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#working-with-bot-admin-right-suggestions" id="working-with-bot-admin-right-suggestions" name="working-with-bot-admin-right-suggestions"><i class="anchor-icon"></i></a>Working with bot admin right suggestions</h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
|
@ -1401,6 +1378,29 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#working-with-custom-animated-emojis" id="working-with-custom-animated-emojis" name="working-with-custom-animated-emojis"><i class="anchor-icon"></i></a>Working with custom animated emojis</h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getCustomEmojiDocuments">messages.getCustomEmojiDocuments</a></td>
|
||||
<td>Fetch info about custom emojis.<br><br>Returns a list of <a href="/constructor/document">documents</a> with the animated custom emoji in TGS format, and a <a href="/constructor/documentAttributeCustomEmoji">documentAttributeCustomEmoji</a> attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getEmojiStickers">messages.getEmojiStickers</a></td>
|
||||
<td>Gets the list of currently installed custom emoji stickersets.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getFeaturedEmojiStickers">messages.getFeaturedEmojiStickers</a></td>
|
||||
<td>Gets featured custom emoji stickersets.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#working-with-dialogs" id="working-with-dialogs" name="working-with-dialogs"><i class="anchor-icon"></i></a>Working with dialogs</h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/documentAttributeCustomEmoji">documentAttributeCustomEmoji</a></td>
|
||||
<td> </td>
|
||||
<td>Info about a custom emoji</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -167,7 +167,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/messageEntityCustomEmoji">messageEntityCustomEmoji</a></td>
|
||||
<td> </td>
|
||||
<td>Represents an animated emoji</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -70,19 +70,19 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/notificationSoundDefault">notificationSoundDefault</a></td>
|
||||
<td> </td>
|
||||
<td>Indicates the default notification sound should be used</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/notificationSoundNone">notificationSoundNone</a></td>
|
||||
<td> </td>
|
||||
<td>No notification sound should be used</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/notificationSoundLocal">notificationSoundLocal</a></td>
|
||||
<td> </td>
|
||||
<td>Indicates a specific local notification sound should be used</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/notificationSoundRingtone">notificationSoundRingtone</a></td>
|
||||
<td> </td>
|
||||
<td>A specific previously uploaded notification sound should be used</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/paymentFormMethod">paymentFormMethod</a></td>
|
||||
<td> </td>
|
||||
<td>Represents a payment method</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/premiumGiftOption">premiumGiftOption</a></td>
|
||||
<td> </td>
|
||||
<td>Telegram Premium gift option</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getEmojiStickers">messages.getEmojiStickers</a></td>
|
||||
<td> </td>
|
||||
<td>Gets the list of currently installed custom emoji stickersets.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.getFeaturedEmojiStickers">messages.getFeaturedEmojiStickers</a></td>
|
||||
<td> </td>
|
||||
<td>Gets featured custom emoji stickersets.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/payments.exportedInvoice">payments.exportedInvoice</a></td>
|
||||
<td> </td>
|
||||
<td>Exported invoice</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue