mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-26 22:40:24 +01:00
Update content of files
This commit is contained in:
parent
1f5f10380c
commit
f5bca55920
1 changed files with 15 additions and 14 deletions
|
@ -42,7 +42,7 @@
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/inputPhoneContact" >inputPhoneContact</a></li></ul></div>
|
||||
<h1 id="dev_page_title">inputPhoneContact</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Phone contact. The <code>client_id</code> is just an arbitrary contact ID: it should be set, for example, to an incremental number when using <a href="/method/contacts.importContacts">contacts.importContacts</a>, in order to retry importing only the contacts that weren't imported successfully.</p>
|
||||
<div id="dev_page_content"><p>Phone contact.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -56,44 +56,45 @@
|
|||
</ul>
|
||||
</div>
|
||||
<pre class="page_scheme"><code><a href="/constructor/inputPhoneContact" class="current_page_link" >inputPhoneContact</a>#f392b7f4 client_id:<a href="/type/long" >long</a> phone:<a href="/type/string" >string</a> first_name:<a href="/type/string" >string</a> last_name:<a href="/type/string" >string</a> = <a href="/type/InputContact" >InputContact</a>;</code></pre></p>
|
||||
<h3><a class="anchor" href="#parameters" id="parameters" name="parameters"><i class="anchor-icon"></i></a>Parameters</h3>
|
||||
<h3><a class="anchor" name="parameters" href="#parameters"><i class="anchor-icon"></i></a>Parameters</h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th style="text-align: center;">Type</th>
|
||||
<th align="center">Type</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>client_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/long">long</a></td>
|
||||
<td>User identifier on the client</td>
|
||||
<td align="center"><a href="/type/long">long</a></td>
|
||||
<td>An arbitrary 64-bit integer: it should be set, for example, to an incremental number when using <a href="/method/contacts.importContacts">contacts.importContacts</a>, in order to retry importing only the contacts that weren't imported successfully, according to the client_ids returned in <a href="/constructor/contacts.importedContacts">contacts.importedContacts</a>.<code>retry_contacts</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>phone</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td align="center"><a href="/type/string">string</a></td>
|
||||
<td>Phone number</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>first_name</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td>Contact's first name</td>
|
||||
<td align="center"><a href="/type/string">string</a></td>
|
||||
<td>Contact's first name</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>last_name</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||
<td>Contact's last name</td>
|
||||
<td align="center"><a href="/type/string">string</a></td>
|
||||
<td>Contact's last name</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<h3><a class="anchor" name="type" href="#type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/InputContact">InputContact</a></p>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#contactsimportcontacts" id="contactsimportcontacts" name="contactsimportcontacts"><i class="anchor-icon"></i></a><a href="/method/contacts.importContacts">contacts.importContacts</a></h4>
|
||||
<h3><a class="anchor" name="related-pages" href="#related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" name="contacts-importcontacts" href="#contacts-importcontacts"><i class="anchor-icon"></i></a><a href="/method/contacts.importContacts">contacts.importContacts</a></h4>
|
||||
<p>Imports contacts: saves a full list on the server, adds already registered contacts to the contact list, returns added contacts and their info.</p>
|
||||
<p>Use <a href="/method/contacts.addContact">contacts.addContact</a> to add Telegram contacts without actually using their phone number.</p></div>
|
||||
<p>Use <a href="/method/contacts.addContact">contacts.addContact</a> to add Telegram contacts without actually using their phone number.</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue