MadelineProtoDocs/old_docs/API_docs_v72/constructors/phoneCallProtocol.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 KiB

title description image
phoneCallProtocol Phone call protocol https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: phoneCallProtocol

Back to constructors index

Phone call protocol

Attributes:

Name Type Required Description
udp_p2p Bool Optional Udp p2p?
udp_reflector Bool Optional Udp reflector?
min_layer int Yes Min layer
max_layer int Yes Max layer

Type: PhoneCallProtocol

Example:

$phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int];

PWRTelegram json-encoded version:

{"_": "phoneCallProtocol", "udp_p2p": Bool, "udp_reflector": Bool, "min_layer": int, "max_layer": int}

Or, if you're into Lua:

phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int}