986 B
986 B
title | description | image |
---|---|---|
dcOption | DC option | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: dcOption
DC option
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | int | Yes | ID |
hostname | string | Yes | Hostname |
ip_address | string | Yes | Ip address |
port | int | Yes | Port |
Type: DcOption
Example:
$dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => 'string', 'ip_address' => 'string', 'port' => int];
PWRTelegram json-encoded version:
{"_": "dcOption", "id": int, "hostname": "string", "ip_address": "string", "port": int}
Or, if you're into Lua:
dcOption={_='dcOption', id=int, hostname='string', ip_address='string', port=int}