MadelineProto/docs/API_docs/constructors/phoneConnection.md

706 B

title description
phoneConnection phoneConnection attributes, type and example

Constructor: phoneConnection

Back to constructors index

Attributes:

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

Type: PhoneConnection

Example:

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