MadelineProtoDocs/docs/TD_docs/constructors/contact.md

27 lines
690 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: contact
description: Describes user contact
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
2018-04-05 01:19:57 +02:00
# Constructor: contact
2018-04-01 13:19:25 +02:00
[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)