MadelineProtoDocs/old_docs/API_docs_v105/constructors/importedContact.md

40 lines
873 B
Markdown
Raw Normal View History

2019-09-13 17:13:55 +02:00
---
title: importedContact
2019-12-27 17:48:04 +01:00
description: Successfully imported contact.
2019-09-13 17:13:55 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: importedContact
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Successfully imported contact.
2019-09-13 17:13:55 +02:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|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)|
2019-09-13 17:13:55 +02:00
### 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}
```