43 lines
653 B
Markdown
43 lines
653 B
Markdown
---
|
|
title: inputPeerContact
|
|
description: inputPeerContact attributes, type and example
|
|
---
|
|
## Constructor: inputPeerContact
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required |
|
|
|----------|---------------|----------|
|
|
|user\_id|[int](../types/int.md) | Yes|
|
|
|
|
|
|
|
|
### Type: [InputPeer](../types/InputPeer.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_": "inputPeerContact", "user_id": int}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
inputPeerContact={_='inputPeerContact', user_id=int}
|
|
|
|
```
|
|
|
|
|