MadelineProtoDocs/old_docs/API_docs_v39/constructors/importedContact.md

40 lines
873 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: importedContact
description: Successfully imported contact.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: importedContact
[Back to constructors index](index.md)
Successfully imported contact.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|user\_id|[int](../types/int.md) | Yes|User identifier|
|client\_id|[long](../types/long.md) | Yes|The contact's client identifier (passed to one of the [InputContact](../types/InputContact.md) constructors)|
### Type: [ImportedContact](../types/ImportedContact.md)
### Example:
```php
$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long];
```
Or, if you're into Lua:
```lua
importedContact={_='importedContact', user_id=int, client_id=long}
```