MadelineProto/old_docs/API_docs_v65/constructors/phoneConnection.md
Daniil Gentili 1eb2fc0b4f fix
2017-04-21 13:27:04 +02:00

819 B

title description
phoneConnection phoneConnection attributes, type and example

Constructor: phoneConnection

Back to constructors index

Attributes:

Name Type Required
id long Yes
ip string Yes
ipv6 string Yes
port int Yes
peer_tag bytes Yes

Type: PhoneConnection

Example:

$phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => string, 'ipv6' => string, 'port' => int, 'peer_tag' => bytes, ];

Or, if you're into Lua:

phoneConnection={_='phoneConnection', id=long, ip=string, ipv6=string, port=int, peer_tag=bytes, }