MadelineProtoDocs/docs/API_docs/constructors/phoneCallProtocol.md

966 B

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

Or, if you're into Lua:

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