MadelineProto/old_docs/API_docs_v23/constructors/inputPeerForeign.md
2017-02-12 20:32:28 +03:00

28 lines
528 B
Markdown

---
title: inputPeerForeign
description: inputPeerForeign attributes, type and example
---
## Constructor: inputPeerForeign
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Required|
|access\_hash|[long](../types/long.md) | Required|
### Type: [InputPeer](../types/InputPeer.md)
### Example:
```
$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ];
```