MadelineProtoDocs/docs/TD_docs/constructors/contact.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

27 lines
690 B
Markdown

---
title: contact
description: Describes user contact
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: contact
[Back to constructors index](index.md)
Describes user contact
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|phone\_number|[string](../types/string.md) | Yes|User's phone number|
|first\_name|[string](../types/string.md) | Yes|User first name, 1-255 characters|
|last\_name|[string](../types/string.md) | Yes|User last name|
|user\_id|[int](../types/int.md) | Yes|User identifier if known, 0 otherwise|
### Type: [Contact](../types/Contact.md)