MadelineProtoDocs/old_docs/API_docs_v86/constructors/ipPortSecret.md

746 B

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

Constructor: ipPortSecret

Back to constructors index

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

Or, if you're into Lua:

ipPortSecret={_='ipPortSecret', ipv4=int, port=int, secret='bytes'}