mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-16 22:53:12 +01:00
Update content of files
This commit is contained in:
parent
07df0e04d7
commit
cb558d3d35
4 changed files with 6 additions and 0 deletions
|
@ -63,6 +63,8 @@ channels.viewSponsoredMessage channel:InputChannel random_id:bytes = Bool;</code
|
|||
</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>
|
||||
<h4><a class="anchor" name="testing-sponsored-messages" href="#testing-sponsored-messages"><i class="anchor-icon"></i></a>Testing sponsored messages</h4>
|
||||
<p>For the channel <a href="https://t.me/SecretAdTestChannel"><a href="https://t.me/SecretAdTestChannel">https://t.me/SecretAdTestChannel</a></a> the system will <strong>always</strong> return a sponsored message: promoting either a channel, a particular message in a channel, or a bot with a start parameter.</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>
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
</table>
|
||||
<h3><a class="anchor" name="result" href="#result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.SponsoredMessages">messages.SponsoredMessages</a></p>
|
||||
<hr>
|
||||
<h3><a class="anchor" name="related-pages" href="#related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" name="sponsored-messages" href="#sponsored-messages"><i class="anchor-icon"></i></a><a href="/api/sponsored-messages">Sponsored messages</a></h4>
|
||||
<p>How to implement sponsored messages</p>
|
||||
|
|
|
@ -63,6 +63,8 @@ channels.viewSponsoredMessage channel:InputChannel random_id:bytes = Bool;</code
|
|||
</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>
|
||||
<h4><a class="anchor" name="testing-sponsored-messages" href="#testing-sponsored-messages"><i class="anchor-icon"></i></a>Testing sponsored messages</h4>
|
||||
<p>For the channel <a href="https://t.me/SecretAdTestChannel"><a href="https://t.me/SecretAdTestChannel">https://t.me/SecretAdTestChannel</a></a> the system will <strong>always</strong> return a sponsored message: promoting either a channel, a particular message in a channel, or a bot with a start parameter.</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>
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
</table>
|
||||
<h3><a class="anchor" name="result" href="#result"><i class="anchor-icon"></i></a>Result</h3>
|
||||
<p><a href="/type/messages.SponsoredMessages">messages.SponsoredMessages</a></p>
|
||||
<hr>
|
||||
<h3><a class="anchor" name="related-pages" href="#related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" name="sponsored-messages" href="#sponsored-messages"><i class="anchor-icon"></i></a><a href="/api/sponsored-messages">Sponsored messages</a></h4>
|
||||
<p>How to implement sponsored messages</p>
|
||||
|
|
Loading…
Reference in a new issue