Telethon/constructors/sponsored_message.html
2024-11-17 22:32:52 +01:00

18 lines
4.6 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SponsoredMessage</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link id="style" href="../css/docs.dark.css" rel="stylesheet">
<script>
document.getElementById("style").href = "../css/docs."
+ (localStorage.getItem("theme") || "light")
+ ".css";
</script>
<link href="https://fonts.googleapis.com/css?family=Nunito|Source+Code+Pro"
rel="stylesheet">
</head>
<body>
<div id="main_div"><ul class="horizontal"><li><a href="../index.html">API</a></li><img src="../img/arrow.svg" alt="/" /><li><a href="index.html">Constructors</a></li><img src="../img/arrow.svg" alt="/" /><li><a href="sponsored_message.html">SponsoredMessage</a></li></ul><h1>SponsoredMessage</h1><pre>---types---
sponsoredMessage#4d93a990 flags:# recommended:flags.5?<a href="../index.html#true">true</a> can_report:flags.12?<a href="../index.html#true">true</a> random_id:<a href="../index.html#bytes">bytes</a> url:<a href="../index.html#string">string</a> title:<a href="../index.html#string">string</a> message:<a href="../index.html#string">string</a> entities:flags.1?<a href="../index.html#vector">Vector</a>&lt;<a href="../types/message_entity.html">MessageEntity</a>&gt; photo:flags.6?<a href="../types/photo.html">Photo</a> media:flags.14?<a href="../types/message_media.html">MessageMedia</a> color:flags.13?<a href="../types/peer_color.html">PeerColor</a> button_text:<a href="../index.html#string">string</a> sponsor_info:flags.7?<a href="../index.html#string">string</a> additional_info:flags.8?<a href="../index.html#string">string</a> = <a href="../types/sponsored_message.html">SponsoredMessage</a></pre><button onclick="cp('from telethon.tl.types import SponsoredMessage');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../types/sponsored_message.html">SponsoredMessage</a></td></tr></table><p>This type can only be an instance of:</p><table><tr><td><a href="sponsored_message.html">SponsoredMessage</a></td></tr></table><h3>Members</h3><table><tr><td><b>url</b></td><td style="text-align:center"><a href="../index.html#string">string</a></td><td></td></tr><tr><td><b>title</b></td><td style="text-align:center"><a href="../index.html#string">string</a></td><td></td></tr><tr><td><b>message</b></td><td style="text-align:center"><a href="../index.html#string">string</a></td><td></td></tr><tr><td><b>button_text</b></td><td style="text-align:center"><a href="../index.html#string">string</a></td><td></td></tr><tr><td><b>recommended</b></td><td style="text-align:center"><a href="../index.html#true">flag</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>can_report</b></td><td style="text-align:center"><a href="../index.html#true">flag</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>random_id</b></td><td style="text-align:center"><a href="../index.html#bytes">bytes</a></td><td>If left unspecified, it will be inferred automatically.</td></tr><tr><td><b>entities</b></td><td style="text-align:center"><a href="../types/message_entity.html">MessageEntity</a></td><td>This argument defaults to <code>None</code> and can be omitted. Otherwise, a <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr><tr><td><b>photo</b></td><td style="text-align:center"><a href="../types/photo.html">Photo</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>media</b></td><td style="text-align:center"><a href="../types/message_media.html">MessageMedia</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>color</b></td><td style="text-align:center"><a href="../types/peer_color.html">PeerColor</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>sponsor_info</b></td><td style="text-align:center"><a href="../index.html#string">string</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>additional_info</b></td><td style="text-align:center"><a href="../index.html#string">string</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr></table><textarea id="c" class="invisible"></textarea><script>function cp(t){var c=document.getElementById("c");c.value=t;c.select();try{document.execCommand("copy")}catch(e){}}</script></div><script>prependPath = "../";</script><script src="../js/search.js"></script></body></html>