Telethon/constructors/web_page.html

18 lines
6.0 KiB
HTML
Raw Permalink Normal View History

2016-08-26 13:58:53 +03:00
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WebPage</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="web_page.html">WebPage</a></li></ul><h1>WebPage</h1><pre>---types---
webPage#e89c45b2 flags:# has_large_media:flags.13?<a href="../index.html#true">true</a> id:<a href="../index.html#long">long</a> url:<a href="../index.html#string">string</a> display_url:<a href="../index.html#string">string</a> hash:<a href="../index.html#int">int</a> type:flags.0?<a href="../index.html#string">string</a> site_name:flags.1?<a href="../index.html#string">string</a> title:flags.2?<a href="../index.html#string">string</a> description:flags.3?<a href="../index.html#string">string</a> photo:flags.4?<a href="../types/photo.html">Photo</a> embed_url:flags.5?<a href="../index.html#string">string</a> embed_type:flags.5?<a href="../index.html#string">string</a> embed_width:flags.6?<a href="../index.html#int">int</a> embed_height:flags.6?<a href="../index.html#int">int</a> duration:flags.7?<a href="../index.html#int">int</a> author:flags.8?<a href="../index.html#string">string</a> document:flags.9?<a href="../types/document.html">Document</a> cached_page:flags.10?<a href="../types/page.html">Page</a> attributes:flags.12?<a href="../index.html#vector">Vector</a>&lt;<a href="../types/web_page_attribute.html">WebPageAttribute</a>&gt; = <a href="../types/web_page.html">WebPage</a></pre><button onclick="cp('from telethon.tl.types import WebPage');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../types/web_page.html">WebPage</a></td></tr></table><p>This type can be an instance of either:</p><table><tr><td><a href="web_page.html">WebPage</a></td><td><a href="web_page_empty.html">WebPageEmpty</a></td></tr><tr><td><a href="web_page_not_modified.html">WebPageNotModified</a></td><td><a href="web_page_pending.html">WebPagePending</a></td></tr></table><h3>Members</h3><table><tr><td><b>id</b></td><td style="text-align:center"><a href="../index.html#long">long</a></td><td></td></tr><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>display_url</b></td><td style="text-align:center"><a href="../index.html#string">string</a></td><td></td></tr><tr><td><b>hash</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>has_large_media</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>type</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>site_name</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>title</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>description</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>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>embed_url</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>embed_type</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>embed_width</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>embed_height</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>duration</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td>This arg