MadelineProtoDocs/old_docs/API_docs_v81/constructors/ipPort.md

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}