MadelineProtoDocs/old_docs/API_docs_v97/constructors/ipPort.md
2019-05-03 21:10:09 +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}