MadelineProtoDocs/old_docs/API_docs_v103/constructors/ipPort.md
2019-08-15 20:25:16 +02:00

610 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];

Or, if you're into Lua:

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