MadelineProtoDocs/old_docs/API_docs_v82/constructors/ipPort.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

723 B

title description image
ipPort Ip port https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: ipPort

Back to constructors index

Ip port

Attributes:

Name Type Required Description
ipv4 int Yes Ipv4
port int Yes Port

Type: IpPort

Example:

$ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int];

PWRTelegram json-encoded version:

{"_": "ipPort", "ipv4": int, "port": int}

Or, if you're into Lua:

ipPort={_='ipPort', ipv4=int, port=int}