mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 01:16:35 +03:00
18 lines
3.3 KiB
HTML
18 lines
3.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>Photo</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="photo.html">Photo</a></li></ul><h1>Photo</h1><pre>---types---
|
|
photo#fb197a65 flags:# has_stickers:flags.0?<a href="../index.html#true">true</a> id:<a href="../index.html#long">long</a> access_hash:<a href="../index.html#long">long</a> file_reference:<a href="../index.html#bytes">bytes</a> date:<a href="../index.html#date">date</a> sizes:<a href="../index.html#vector">Vector</a><<a href="../types/photo_size.html">PhotoSize</a>> video_sizes:flags.1?<a href="../index.html#vector">Vector</a><<a href="../types/video_size.html">VideoSize</a>> dc_id:<a href="../index.html#int">int</a> = <a href="../types/photo.html">Photo</a></pre><button onclick="cp('from telethon.tl.types import Photo');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../types/photo.html">Photo</a></td></tr></table><p>This type can be an instance of either:</p><table><tr><td><a href="photo.html">Photo</a></td><td><a href="photo_empty.html">PhotoEmpty</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>access_hash</b></td><td style="text-align:center"><a href="../index.html#long">long</a></td><td></td></tr><tr><td><b>file_reference</b></td><td style="text-align:center"><a href="../index.html#bytes">bytes</a></td><td></td></tr><tr><td><b>date</b></td><td style="text-align:center"><a href="../index.html#date">date</a></td><td></td></tr><tr><td><b>sizes</b></td><td style="text-align:center"><a href="../types/photo_size.html">PhotoSize</a></td><td>A <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr><tr><td><b>dc_id</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>has_stickers</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>video_sizes</b></td><td style="text-align:center"><a href="../types/video_size.html">VideoSize</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></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> |