1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
phoneCallProtocol | Phone call protocol | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: phoneCallProtocol
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}