Update content of files

This commit is contained in:
GitHub Action 2021-11-23 16:56:37 +00:00
parent 9e7d7f64ed
commit 0b3dadae7b

View file

@ -57,16 +57,16 @@ channels.viewSponsoredMessage channel:InputChannel random_id:bytes = Bool;</code
<h4><a class="anchor" name="displaying-sponsored-messages" href="#displaying-sponsored-messages"><i class="anchor-icon"></i></a>Displaying sponsored messages</h4>
<p>Sponsored messages should be displayed below all other posts in the channel, after the user scrolls futher down, past the last message. The Promoted channel or bot specified in the <code>from_id</code> field must be displayed as the author of the message. The message should also contain one of the following buttons at the bottom:</p>
<ul>
<li><mark><strong>View Bot</strong></mark>, if a bot is being promoted. Tapping the button should open the chat with the bot. If <code>start_param</code> is specified, the app should use the <a href="/bots#deep-linking">deep linking mechanism</a> to open the bot.</li>
<li><mark><strong>View Channel</strong></mark>, if a channel is being promoted. Tapping the button should open the channel.</li>
<li><mark><strong>View Post</strong></mark>, if a channel is being promoted and <code>channel_post</code> is specified. Tapping the button should open the particular channel post.</li>
<li><mark><strong>View Bot</strong></mark> if a bot is being promoted. Tapping the button should open the chat with the bot. If <code>start_param</code> is specified, the app should use the <a href="/bots#deep-linking">deep linking mechanism</a> to open the bot.</li>
<li><mark><strong>View Channel</strong></mark> if a channel is being promoted. Tapping the button should open the channel.</li>
<li><mark><strong>View Post</strong></mark> if a channel is being promoted and <code>channel_post</code> is specified. Tapping the button should open the particular channel post.</li>
</ul>
<h4><a class="anchor" name="counting-sponsored-message-views" href="#counting-sponsored-message-views"><i class="anchor-icon"></i></a>Counting sponsored message views</h4>
<p>Once the entire text is shown on the screen (excluding the button), <code>channels.viewSponsoredMessage</code> should be called with the <code>random_id</code> of this sponsored message.</p>
<hr>
<h4><a class="anchor" name="sponsored-messages-in-third-party-apps" href="#sponsored-messages-in-third-party-apps"><i class="anchor-icon"></i></a>Sponsored messages in third-party apps</h4>
<p>Telegram continues to grow worldwide, in part thanks to third-party apps using the Telegram API. To cover the increasing costs that come with this growth, Telegram added <a href="https://promote.telegram.org">sponsored messages</a> a paid <a href="https://t.me/durov/172">privacy-friendly way</a> to promote <strong>bots and channels</strong>. </p>
<p>Third-party developers using the Telegam API are required to support and properly display official sponsored messages in their apps by <strong>December 15, 2021</strong>. Unfortunately, Telegram cannot financially sustain third-party apps that do not display sponsored messages and they will have to be disconnected. </p>
<p>Third-party developers using the Telegam API are required to support and properly display official sponsored messages in their apps by <strong>January 1, 2022</strong>. Unfortunately, Telegram cannot financially sustain third-party apps that do not display sponsored messages and they will have to be disconnected. </p>
<p>Telegram&#39;s API usage will continue to be <strong>free of charge</strong> for all developers. The <a href="https://core.telegram.org/api/terms#3-advertising-amp-monetization">rules</a> regarding monetization in third-party apps remain the same: developers are allowed to monetize their coding efforts through advertising of their own or other legitimate means, provided that all the methods of monetization used in their apps are prominently mentioned in their app store descriptions.</p>
</div>