923 B
923 B
title | description | image |
---|---|---|
ipPortSecret | Ip port secret | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: ipPortSecret
Ip port secret
Attributes:
Name | Type | Required | Description |
---|---|---|---|
ipv4 | int | Yes | Ipv4 |
port | int | Yes | Port |
secret | bytes | Yes | Secret |
Type: IpPort
Example:
$ipPortSecret = ['_' => 'ipPortSecret', 'ipv4' => int, 'port' => int, 'secret' => 'bytes'];
PWRTelegram json-encoded version:
{"_": "ipPortSecret", "ipv4": int, "port": int, "secret": {"_": "bytes", "bytes":"base64 encoded bytes"}}
Or, if you're into Lua:
ipPortSecret={_='ipPortSecret', ipv4=int, port=int, secret='bytes'}