MadelineProto/old_docs/API_docs_v27/constructors/dcOption.md

30 lines
608 B
Markdown
Raw Normal View History

---
title: dcOption
description: dcOption attributes, type and example
---
## Constructor: dcOption
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[int](../types/int.md) | Required|
|hostname|[string](../types/string.md) | Required|
|ip\_address|[string](../types/string.md) | Required|
|port|[int](../types/int.md) | Required|
### Type: [DcOption](../types/DcOption.md)
### Example:
```
$dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ];
```