Telethon/constructors/phone_connection.html

18 lines
2.6 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>PhoneConnection</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="phone_connection.html">PhoneConnection</a></li></ul><h1>PhoneConnection</h1><pre>---types---
phoneConnection#9cc123c7 flags:# tcp:flags.0?<a href="../index.html#true">true</a> id:<a href="../index.html#long">long</a> ip:<a href="../index.html#string">string</a> ipv6:<a href="../index.html#string">string</a> port:<a href="../index.html#int">int</a> peer_tag:<a href="../index.html#bytes">bytes</a> = <a href="../types/phone_connection.html">PhoneConnection</a></pre><button onclick="cp('from telethon.tl.types import PhoneConnection');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../types/phone_connection.html">PhoneConnection</a></td></tr></table><p>This type can be an instance of either:</p><table><tr><td><a href="phone_connection.html">PhoneConnection</a></td><td><a href="phone_connection_webrtc.html">PhoneConnectionWebrtc</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>ip</b></td><td style="text-align:center"><a href="../index.html#string">string</a></td><td></td></tr><tr><td><b>ipv6</b></td><td style="text-align:center"><a href="../index.html#string">string</a></td><td></td></tr><tr><td><b>port</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>peer_tag</b></td><td style="text-align:center"><a href="../index.html#bytes">bytes</a></td><td></td></tr><tr><td><b>tcp</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></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>