Telethon/constructors/config.html
2024-06-11 16:43:08 +02:00

18 lines
11 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Config</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="config.html">Config</a></li></ul><h1>Config</h1><pre>---types---
config#cc1a241e flags:# default_p2p_contacts:flags.3?<a href="../index.html#true">true</a> preload_featured_stickers:flags.4?<a href="../index.html#true">true</a> revoke_pm_inbox:flags.6?<a href="../index.html#true">true</a> blocked_mode:flags.8?<a href="../index.html#true">true</a> force_try_ipv6:flags.14?<a href="../index.html#true">true</a> date:<a href="../index.html#date">date</a> expires:<a href="../index.html#date">date</a> test_mode:<a href="../index.html#bool">Bool</a> this_dc:<a href="../index.html#int">int</a> dc_options:<a href="../index.html#vector">Vector</a>&lt;<a href="../types/dc_option.html">DcOption</a>&gt; dc_txt_domain_name:<a href="../index.html#string">string</a> chat_size_max:<a href="../index.html#int">int</a> megagroup_size_max:<a href="../index.html#int">int</a> forwarded_count_max:<a href="../index.html#int">int</a> online_update_period_ms:<a href="../index.html#int">int</a> offline_blur_timeout_ms:<a href="../index.html#int">int</a> offline_idle_timeout_ms:<a href="../index.html#int">int</a> online_cloud_timeout_ms:<a href="../index.html#int">int</a> notify_cloud_delay_ms:<a href="../index.html#int">int</a> notify_default_delay_ms:<a href="../index.html#int">int</a> push_chat_period_ms:<a href="../index.html#int">int</a> push_chat_limit:<a href="../index.html#int">int</a> edit_time_limit:<a href="../index.html#int">int</a> revoke_time_limit:<a href="../index.html#int">int</a> revoke_pm_time_limit:<a href="../index.html#int">int</a> rating_e_decay:<a href="../index.html#int">int</a> stickers_recent_limit:<a href="../index.html#int">int</a> channels_read_media_period:<a href="../index.html#int">int</a> tmp_sessions:flags.0?<a href="../index.html#int">int</a> call_receive_timeout_ms:<a href="../index.html#int">int</a> call_ring_timeout_ms:<a href="../index.html#int">int</a> call_connect_timeout_ms:<a href="../index.html#int">int</a> call_packet_timeout_ms:<a href="../index.html#int">int</a> me_url_prefix:<a href="../index.html#string">string</a> autoupdate_url_prefix:flags.7?<a href="../index.html#string">string</a> gif_search_username:flags.9?<a href="../index.html#string">string</a> venue_search_username:flags.10?<a href="../index.html#string">string</a> img_search_username:flags.11?<a href="../index.html#string">string</a> static_maps_provider:flags.12?<a href="../index.html#string">string</a> caption_length_max:<a href="../index.html#int">int</a> message_length_max:<a href="../index.html#int">int</a> webfile_dc_id:<a href="../index.html#int">int</a> suggested_lang_code:flags.2?<a href="../index.html#string">string</a> lang_pack_version:flags.2?<a href="../index.html#int">int</a> base_lang_pack_version:flags.2?<a href="../index.html#int">int</a> reactions_default:flags.15?<a href="../types/reaction.html">Reaction</a> autologin_token:flags.16?<a href="../index.html#string">string</a> = <a href="../types/config.html">Config</a></pre><button onclick="cp('from telethon.tl.types import Config');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../types/config.html">Config</a></td></tr></table><p>This type can only be an instance of:</p><table><tr><td><a href="config.html">Config</a></td></tr></table><h3>Members</h3><table><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>expires</b></td><td style="text-align:center"><a href="../index.html#date">date</a></td><td></td></tr><tr><td><b>test_mode</b></td><td style="text-align:center"><a href="../index.html#bool">Bool</a></td><td></td></tr><tr><td><b>this_dc</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>dc_options</b></td><td style="text-align:center"><a href="../types/dc_option.html">DcOption</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_txt_domain_name</b></td><td style="text-align:center"><a href="../index.html#string">string</a></td><td></td></tr><tr><td><b>chat_size_max</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>megagroup_size_max</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>forwarded_count_max</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>online_update_period_ms</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>offline_blur_timeout_ms</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>offline_idle_timeout_ms</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>online_cloud_timeout_ms</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>notify_cloud_delay_ms</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>notify_default_delay_ms</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>push_chat_period_ms</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>push_chat_limit</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>edit_time_limit</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>revoke_time_limit</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>revoke_pm_time_limit</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>rating_e_decay</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>stickers_recent_limit</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>channels_read_media_period</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>call_receive_timeout_ms</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>call_ring_timeout_ms</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>call_connect_timeout_ms</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>call_packet_timeout_ms</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>me_url_prefix</b></td><td style="text-align:center"><a href="../index.html#string">string</a></td><td></td></tr><tr><td><b>caption_length_max</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>message_length_max</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>webfile_dc_id</b></td><td style="text-align:center"><a href="../index.html#int">int</a></td><td></td></tr><tr><td><b>default_p2p_contacts</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>preload_featured_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>revoke_pm_inbox</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>blocked_mode</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>force_try_ipv6</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>tmp_sessions</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>autoupdate_url_prefix</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>gif_search_username</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>venue_search_username</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>img_search_username</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>static_maps_provider</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>suggested_lang_code</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>lang_pack_version</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>base_lang_pack_version</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>reactions_default</b></td><td style="text-align:center"><a href="../types/reaction.html">Reaction</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>autologin_token</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>