mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-22 08:54:51 +01:00
Update content of files
This commit is contained in:
parent
a499ee33db
commit
737e6fafbb
13 changed files with 81 additions and 79 deletions
|
@ -48,6 +48,7 @@
|
|||
<h3><a class="anchor" href="#react-to-a-message" id="react-to-a-message" name="react-to-a-message"><i class="anchor-icon"></i></a>React to a message</h3>
|
||||
<pre><code><a href='/constructor/reactionEmoji'>reactionEmoji</a>#1b2286b8 emoticon:<a href='/type/string'>string</a> = <a href='/type/Reaction'>Reaction</a>;
|
||||
<a href='/constructor/reactionCustomEmoji'>reactionCustomEmoji</a>#8935fc73 document_id:<a href='/type/long'>long</a> = <a href='/type/Reaction'>Reaction</a>;
|
||||
<a href='/constructor/reactionPaid'>reactionPaid</a>#523da4eb = <a href='/type/Reaction'>Reaction</a>;
|
||||
|
||||
<a href='/constructor/reactionCount'>reactionCount</a>#a3d1cb80 flags:<a href='/type/%23'>#</a> chosen_order:flags.0?<a href='/type/int'>int</a> reaction:<a href='/type/Reaction'>Reaction</a> count:<a href='/type/int'>int</a> = <a href='/type/ReactionCount'>ReactionCount</a>;
|
||||
|
||||
|
@ -86,6 +87,28 @@ In groups, <a href="/method/messages.reportReaction">messages.reportReaction</a>
|
|||
<p><a href="/method/messages.getUnreadReactions">messages.getUnreadReactions</a> is used to fetch messages with unread reactions.<br>
|
||||
Use <a href="/method/messages.readReactions">messages.readReactions</a> to mark all reactions as read in a certain chat.</p>
|
||||
<p>For <a href="/api/saved-messages">saved messages</a>, if the <code>reactions_as_tags</code> flag of <a href="/constructor/messageReactions">messageReactions</a> is set, or if there are no reactions, all present and future reactions should be treated as <a href="/api/saved-messages#tags">message tags, see here » for more info</a>.</p>
|
||||
<h4><a class="anchor" href="#paid-reactions" id="paid-reactions" name="paid-reactions"><i class="anchor-icon"></i></a>Paid reactions</h4>
|
||||
<pre><code><a href='/constructor/reactionPaid'>reactionPaid</a>#523da4eb = <a href='/type/Reaction'>Reaction</a>;
|
||||
|
||||
<a href='/constructor/updateMessageReactions'>updateMessageReactions</a>#5e1b3cb8 flags:<a href='/type/%23'>#</a> peer:<a href='/type/Peer'>Peer</a> msg_id:<a href='/type/int'>int</a> top_msg_id:flags.0?<a href='/type/int'>int</a> reactions:<a href='/type/MessageReactions'>MessageReactions</a> = <a href='/type/Update'>Update</a>;
|
||||
|
||||
<a href='/constructor/messageReactions'>messageReactions</a>#a339f0b flags:<a href='/type/%23'>#</a> min:flags.0?<a href='/constructor/true'>true</a> can_see_list:flags.2?<a href='/constructor/true'>true</a> reactions_as_tags:flags.3?<a href='/constructor/true'>true</a> results:<a href='/type/Vector%20t'>Vector</a><<a href='/type/ReactionCount'>ReactionCount</a>> recent_reactions:flags.1?<a href='/type/Vector%20t'>Vector</a><<a href='/type/MessagePeerReaction'>MessagePeerReaction</a>> top_reactors:flags.4?<a href='/type/Vector%20t'>Vector</a><<a href='/type/MessageReactor'>MessageReactor</a>> = <a href='/type/MessageReactions'>MessageReactions</a>;
|
||||
|
||||
<a href='/constructor/messageReactor'>messageReactor</a>#4ba3a95a flags:<a href='/type/%23'>#</a> top:flags.0?<a href='/constructor/true'>true</a> my:flags.1?<a href='/constructor/true'>true</a> anonymous:flags.2?<a href='/constructor/true'>true</a> peer_id:flags.3?<a href='/type/Peer'>Peer</a> count:<a href='/type/int'>int</a> = <a href='/type/MessageReactor'>MessageReactor</a>;
|
||||
|
||||
---functions---
|
||||
|
||||
<a href='/method/messages.sendPaidReaction'>messages.sendPaidReaction</a>#9dd6a67b flags:<a href='/type/%23'>#</a> peer:<a href='/type/InputPeer'>InputPeer</a> msg_id:<a href='/type/int'>int</a> count:<a href='/type/int'>int</a> random_id:<a href='/type/long'>long</a> private:flags.0?<a href='/type/Bool'>Bool</a> = <a href='/type/Updates'>Updates</a>;
|
||||
<a href='/method/messages.togglePaidReactionPrivacy'>messages.togglePaidReactionPrivacy</a>#849ad397 peer:<a href='/type/InputPeer'>InputPeer</a> msg_id:<a href='/type/int'>int</a> private:<a href='/type/Bool'>Bool</a> = <a href='/type/Bool'>Bool</a>;
|
||||
|
||||
<a href='/method/messages.getMessagesReactions'>messages.getMessagesReactions</a>#8bba90e6 peer:<a href='/type/InputPeer'>InputPeer</a> id:<a href='/type/Vector%20t'>Vector</a><<a href='/type/int'>int</a>> = <a href='/type/Updates'>Updates</a>;</code></pre>
|
||||
<p>Paid reactions (aka Star reactions) may be sent to channel posts by invoking <a href="/method/messages.sendPaidReaction">messages.sendPaidReaction</a>: this will transfer <code>count</code> Telegram Stars to the channel's balance and increment by <code>count</code> the reaction counter of the Star reaction with type <a href="/constructor/reactionPaid">reactionPaid</a>. </p>
|
||||
<p>Each post with star reactions has a leaderboard with the top senders, but users can opt out of appearing there if they prefer more privacy.<br>
|
||||
If the user explicitly chose to make their paid reaction(s) private, pass <a href="/constructor/boolTrue">boolTrue</a> to <a href="/method/messages.sendPaidReaction">messages.sendPaidReaction</a>.<code>private</code>.<br>
|
||||
If the user explicitly chose to make their paid reaction(s) private, pass <a href="/constructor/boolTrue">boolFalse</a> to <a href="/method/messages.sendPaidReaction">messages.sendPaidReaction</a>.<code>private</code>.<br>
|
||||
If the user did not make any explicit choice about the privacy of their paid reaction(s) (i.e. when reacting by clicking on an existing star reaction on a message), do not populate the <a href="/method/messages.sendPaidReaction">messages.sendPaidReaction</a>.<code>private</code> flag. </p>
|
||||
<p>To change the privacy of already sent paid reactions, invoke <a href="/method/messages.togglePaidReactionPrivacy">messages.togglePaidReactionPrivacy</a>, passing the ID of the message, the channel and the desired privacy setting. </p>
|
||||
<p>To fetch the paid reactions leaderboard, invoke <a href="/method/messages.getMessagesReactions">messages.getMessagesReactions</a>: the returned <a href="/constructor/updateMessageReactions">updateMessageReactions</a> constructor will contain a <code>top_reactors</code> vector of <a href="/constructor/messageReactor">messageReactor</a>s, containing the paid reactions leaderboard for that message. </p>
|
||||
<h3><a class="anchor" href="#react-to-a-story" id="react-to-a-story" name="react-to-a-story"><i class="anchor-icon"></i></a>React to a story</h3>
|
||||
<p>See <a href="/api/stories#reactions">here »</a> for more info on how to react to a story.</p>
|
||||
<h3><a class="anchor" href="#notifications-about-reactions" id="notifications-about-reactions" name="notifications-about-reactions"><i class="anchor-icon"></i></a>Notifications about reactions</h3>
|
||||
|
|
|
@ -138,6 +138,10 @@ Clients should display this message, along with a sticker from the <a href="/con
|
|||
<p>Purchasing paid media will transfer Telegram Stars to the channel's balance.<br>
|
||||
Channel owners can then <a href="#withdrawing-revenue">withdraw Stars as Toncoin »</a>, or <a href="#paying-for-ads">use Stars to place ads for the channel »</a>. </p>
|
||||
<p><a href="#revenue-statistics">Star revenue statistics</a> and <a href="#balance-and-transaction-history">balance information</a> is also available to channel owners. </p>
|
||||
<h4><a class="anchor" href="#paid-reactions" id="paid-reactions" name="paid-reactions"><i class="anchor-icon"></i></a>Paid reactions</h4>
|
||||
<p>Users can now directly support their favorite channels and content creators by sending them Telegram Stars using a new Star reaction.</p>
|
||||
<p>Channel owners receive 100% of the stars — and can convert them into Toncoin cryptocurrency rewards or subsidized ads.</p>
|
||||
<p>See <a href="/api/reactions#paid-reactions">here »</a> for the full flow.</p>
|
||||
<h4><a class="anchor" href="#bot-payments" id="bot-payments" name="bot-payments"><i class="anchor-icon"></i></a>Bot payments</h4>
|
||||
<p>Telegram Stars are also used to pay for digital services in bots, using <a href="/constructor/keyboardButtonBuy">keyboardButtonBuy</a> and <a href="/api/payments">the usual payment flow »</a>, with <code>currency="XTR"</code>. </p>
|
||||
<p>Purchasing paid media will transfer Telegram Stars to the bot's balance.<br>
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
<tr>
|
||||
<td><strong>can_refulfill_subscription</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.11?<a href="/constructor/true">true</a></td>
|
||||
<td> </td>
|
||||
<td>If set, indicates that the user has already paid for the associated <a href="/api/stars#star-subscriptions">Telegram Star subscriptions »</a> and it hasn't expired yet, so they may re-join the channel using <a href="/method/messages.importChatInvite">messages.importChatInvite</a> without repeating the payment.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>title</strong></td>
|
||||
|
@ -149,12 +149,12 @@
|
|||
<tr>
|
||||
<td><strong>subscription_pricing</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.10?<a href="/type/StarsSubscriptionPricing">StarsSubscriptionPricing</a></td>
|
||||
<td> </td>
|
||||
<td>For <a href="/api/stars#star-subscriptions">Telegram Star subscriptions »</a>, contains the pricing of the subscription the user must activate to join the private channel.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>subscription_form_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.12?<a href="/type/long">long</a></td>
|
||||
<td> </td>
|
||||
<td>For <a href="/api/stars#star-subscriptions">Telegram Star subscriptions »</a>, the ID of the payment form for the subscription.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -165,6 +165,10 @@
|
|||
<p>How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.</p>
|
||||
<h4><a class="anchor" href="#invites" id="invites" name="invites"><i class="anchor-icon"></i></a><a href="/api/invites">Invites</a></h4>
|
||||
<p>Chats and channels may have a public username or a private invite link: private invite links may be further enhanced with per-user join requests.</p>
|
||||
<h4><a class="anchor" href="#telegram-stars" id="telegram-stars" name="telegram-stars"><i class="anchor-icon"></i></a><a href="/api/stars">Telegram Stars</a></h4>
|
||||
<p>Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.</p>
|
||||
<h4><a class="anchor" href="#messagesimportchatinvite" id="messagesimportchatinvite" name="messagesimportchatinvite"><i class="anchor-icon"></i></a><a href="/method/messages.importChatInvite">messages.importChatInvite</a></h4>
|
||||
<p>Import a chat invite and join a private chat/supergroup/channel</p>
|
||||
<h4><a class="anchor" href="#accent-colors" id="accent-colors" name="accent-colors"><i class="anchor-icon"></i></a><a href="/api/colors">Accent colors</a></h4>
|
||||
<p>Telegram users and channels can change the accent color and background pattern of their profile page and their messages!</p></div>
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
<tr>
|
||||
<td><strong>subscription_expired</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.10?<a href="/type/int">int</a></td>
|
||||
<td> </td>
|
||||
<td>For <a href="/api/stars#star-subscriptions">Telegram Star subscriptions »</a>, contains the number of chat members which have already joined the chat using the link, but have already left due to expiration of their subscription.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>title</strong></td>
|
||||
|
@ -139,12 +139,15 @@
|
|||
<tr>
|
||||
<td><strong>subscription_pricing</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.9?<a href="/type/StarsSubscriptionPricing">StarsSubscriptionPricing</a></td>
|
||||
<td> </td>
|
||||
<td>For <a href="/api/stars#star-subscriptions">Telegram Star subscriptions »</a>, contains the pricing of the subscription the user must activate to join the private channel.</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/ExportedChatInvite">ExportedChatInvite</a></p></div>
|
||||
<p><a href="/type/ExportedChatInvite">ExportedChatInvite</a></p>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#telegram-stars" id="telegram-stars" name="telegram-stars"><i class="anchor-icon"></i></a><a href="/api/stars">Telegram Stars</a></h4>
|
||||
<p>Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -108,6 +108,7 @@
|
|||
<li><code>join_request</code></li>
|
||||
<li><code>is_verified</code></li>
|
||||
<li><code>default_banned_rights</code></li>
|
||||
<li><code>signature_profiles</code></li>
|
||||
</ul>
|
||||
<p>See <a href="https://github.com/tdlib/td/blob/a24af0992245f838f2b4b418a0a2d5fa9caa27b5/td/telegram/ChatManager.cpp#L8329">here »</a> for an implementation of the logic to use when updating the <a href="/api/peers">local user peer database</a>.</p></div>
|
||||
|
||||
|
|
|
@ -4,26 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>inputInvoiceChatInviteSubscription</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
hash
|
||||
string
|
||||
|
||||
Type
|
||||
InputInvoice">
|
||||
<meta property="description" content="Used to pay for a Telegram Star subscription ».">
|
||||
<meta property="og:title" content="inputInvoiceChatInviteSubscription">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
hash
|
||||
string
|
||||
|
||||
Type
|
||||
InputInvoice">
|
||||
<meta property="og:description" content="Used to pay for a Telegram Star 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">
|
||||
|
@ -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/inputInvoiceChatInviteSubscription" >inputInvoiceChatInviteSubscription</a></li></ul></div>
|
||||
<h1 id="dev_page_title">inputInvoiceChatInviteSubscription</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Used to pay for a <a href="/api/stars#star-subscriptions">Telegram Star subscription »</a>.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 192 <b class="caret"></b></a>
|
||||
|
@ -84,12 +69,15 @@ InputInvoice">
|
|||
<tr>
|
||||
<td><strong>hash</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td> </td>
|
||||
<td>The <a href="/api/stars#star-subscriptions">invitation link of the Telegram Star subscription »</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/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="#telegram-stars" id="telegram-stars" name="telegram-stars"><i class="anchor-icon"></i></a><a href="/api/stars">Telegram Stars</a></h4>
|
||||
<p>Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -108,6 +108,7 @@
|
|||
<li><code>join_request</code></li>
|
||||
<li><code>is_verified</code></li>
|
||||
<li><code>default_banned_rights</code></li>
|
||||
<li><code>signature_profiles</code></li>
|
||||
</ul>
|
||||
<p>See <a href="https://github.com/tdlib/td/blob/a24af0992245f838f2b4b418a0a2d5fa9caa27b5/td/telegram/ChatManager.cpp#L8329">here »</a> for an implementation of the logic to use when updating the <a href="/api/peers">local user peer database</a>.</p></div>
|
||||
|
||||
|
|
|
@ -4,36 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>messageReactor</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
|
||||
top
|
||||
flags.0?true
|
||||
|
||||
my
|
||||
flags.1?true
|
||||
|
||||
anonymous…">
|
||||
<meta property="description" content="Info about a user in the paid Star reactions leaderboard for a message.">
|
||||
<meta property="og:title" content="messageReactor">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
flags
|
||||
#
|
||||
Flags, see TL conditional fields
|
||||
top
|
||||
flags.0?true
|
||||
|
||||
my
|
||||
flags.1?true
|
||||
|
||||
anonymous…">
|
||||
<meta property="og:description" content="Info about a user in the paid Star reactions leaderboard for a 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">
|
||||
|
@ -68,7 +42,8 @@ anonymous…">
|
|||
<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/messageReactor" >messageReactor</a></li></ul></div>
|
||||
<h1 id="dev_page_title">messageReactor</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Info about a user in the <a href="/api/reactions#paid-reactions">paid Star reactions leaderboard</a> for 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 192 <b class="caret"></b></a>
|
||||
|
@ -99,32 +74,35 @@ anonymous…">
|
|||
<tr>
|
||||
<td><strong>top</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>If set, the reactor is one of the most active reactors; may be unset if the reactor is the current user.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>my</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/constructor/true">true</a></td>
|
||||
<td> </td>
|
||||
<td>If set, this reactor is the current user.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>anonymous</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>If set, the reactor is anonymous.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>peer_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/Peer">Peer</a></td>
|
||||
<td> </td>
|
||||
<td>Identifier of the peer that reacted: may be unset for anonymous reactors different from the current user (i.e. if the current user sent an anonymous reaction <code>anonymous</code> will be set but this field will also be set).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>count</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||
<td> </td>
|
||||
<td>The number of sent Telegram Stars.</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/MessageReactor">MessageReactor</a></p></div>
|
||||
<p><a href="/type/MessageReactor">MessageReactor</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="#message-reactions" id="message-reactions" name="message-reactions"><i class="anchor-icon"></i></a><a href="/api/reactions">Message reactions</a></h4>
|
||||
<p>Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -105,6 +105,7 @@
|
|||
<li><code>join_request</code></li>
|
||||
<li><code>is_verified</code></li>
|
||||
<li><code>default_banned_rights</code></li>
|
||||
<li><code>signature_profiles</code></li>
|
||||
</ul>
|
||||
<p>See <a href="https://github.com/tdlib/td/blob/a24af0992245f838f2b4b418a0a2d5fa9caa27b5/td/telegram/ChatManager.cpp#L8329">here »</a> for an implementation of the logic to use when updating the <a href="/api/peers">local user peer database</a>.</p>
|
||||
<h4><a class="anchor" href="#channelfull" id="channelfull" name="channelfull"><i class="anchor-icon"></i></a><a href="/constructor/channelFull">channelFull</a></h4>
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
<tr>
|
||||
<td><strong>subscription_pricing</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.5?<a href="/type/StarsSubscriptionPricing">StarsSubscriptionPricing</a></td>
|
||||
<td> </td>
|
||||
<td>For <a href="/api/stars#star-subscriptions">Telegram Star subscriptions »</a>, contains the pricing of the subscription the user must activate to join the private channel.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -170,7 +170,10 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#telegram-stars" id="telegram-stars" name="telegram-stars"><i class="anchor-icon"></i></a><a href="/api/stars">Telegram Stars</a></h4>
|
||||
<p>Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/channel">channel</a></td>
|
||||
<td>Channel/supergroup info<br><br>When updating the <a href="/api/peers">local peer database</a>, all fields from the newly received constructor take priority over the old constructor cached locally (including by removing fields that aren't set in the new constructor).<br><br>The only exception to the above rule is when the <code>min</code> flag is set, in which case <strong>only</strong> the following fields must be applied over any locally stored version:<br><br>- <code>title</code><br>- <code>megagroup</code><br>- <code>color</code><br>- <code>photo</code><br>- <code>username</code><br>- <code>usernames</code><br>- <code>has_geo</code><br>- <code>noforwards</code><br>- <code>emoji_status</code><br>- <code>has_link</code><br>- <code>slow_mode_enabled</code><br>- <code>scam</code><br>- <code>fake</code><br>- <code>gigagroup</code><br>- <code>forum</code><br>- <code>level</code><br>- <code>restricted</code><br>- <code>restriction_reason</code><br>- <code>join_to_send</code><br>- <code>join_request</code><br>- <code>is_verified</code><br>- <code>default_banned_rights</code><br><br>See <a href="https://github.com/tdlib/td/blob/a24af0992245f838f2b4b418a0a2d5fa9caa27b5/td/telegram/ChatManager.cpp#L8329">here »</a> for an implementation of the logic to use when updating the <a href="/api/peers">local user peer database</a>.</td>
|
||||
<td>Channel/supergroup info<br><br>When updating the <a href="/api/peers">local peer database</a>, all fields from the newly received constructor take priority over the old constructor cached locally (including by removing fields that aren't set in the new constructor).<br><br>The only exception to the above rule is when the <code>min</code> flag is set, in which case <strong>only</strong> the following fields must be applied over any locally stored version:<br><br>- <code>title</code><br>- <code>megagroup</code><br>- <code>color</code><br>- <code>photo</code><br>- <code>username</code><br>- <code>usernames</code><br>- <code>has_geo</code><br>- <code>noforwards</code><br>- <code>emoji_status</code><br>- <code>has_link</code><br>- <code>slow_mode_enabled</code><br>- <code>scam</code><br>- <code>fake</code><br>- <code>gigagroup</code><br>- <code>forum</code><br>- <code>level</code><br>- <code>restricted</code><br>- <code>restriction_reason</code><br>- <code>join_to_send</code><br>- <code>join_request</code><br>- <code>is_verified</code><br>- <code>default_banned_rights</code><br>- <code>signature_profiles</code><br><br>See <a href="https://github.com/tdlib/td/blob/a24af0992245f838f2b4b418a0a2d5fa9caa27b5/td/telegram/ChatManager.cpp#L8329">here »</a> for an implementation of the logic to use when updating the <a href="/api/peers">local user peer database</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/channelForbidden">channelForbidden</a></td>
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/inputInvoiceChatInviteSubscription">inputInvoiceChatInviteSubscription</a></td>
|
||||
<td> </td>
|
||||
<td>Used to pay for a <a href="/api/stars#star-subscriptions">Telegram Star subscription »</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/inputInvoiceStarGift">inputInvoiceStarGift</a></td>
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>MessageReactor</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
messageReactor
|
||||
">
|
||||
<meta property="description" content="Info about a user in the paid Star reactions leaderboard for a message.">
|
||||
<meta property="og:title" content="MessageReactor">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Constructors
|
||||
Constructor
|
||||
Description
|
||||
messageReactor
|
||||
">
|
||||
<meta property="og:description" content="Info about a user in the paid Star reactions leaderboard for a 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">
|
||||
|
@ -50,7 +42,8 @@ messageReactor
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/type/MessageReactor" >MessageReactor</a></li></ul></div>
|
||||
<h1 id="dev_page_title">MessageReactor</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>Info about a user in the <a href="/api/reactions#paid-reactions">paid Star reactions leaderboard</a> for 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 192 <b class="caret"></b></a>
|
||||
|
@ -74,10 +67,13 @@ messageReactor
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/messageReactor">messageReactor</a></td>
|
||||
<td> </td>
|
||||
<td>Info about a user in the <a href="/api/reactions#paid-reactions">paid Star reactions leaderboard</a> for a message.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#message-reactions" id="message-reactions" name="message-reactions"><i class="anchor-icon"></i></a><a href="/api/reactions">Message reactions</a></h4>
|
||||
<p>Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue