2018-04-01 13:19:25 +02:00
|
|
|
---
|
|
|
|
title: callProtocol
|
|
|
|
description: Specifies supported call protocols
|
2018-04-04 19:52:48 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
2018-04-01 13:19:25 +02:00
|
|
|
---
|
2018-04-05 01:19:57 +02:00
|
|
|
# Constructor: callProtocol
|
2018-04-01 13:19:25 +02:00
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Specifies supported call protocols
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|udp\_p2p|[Bool](../types/Bool.md) | Yes|True, if UDP peer to peer connections are supported|
|
|
|
|
|udp\_reflector|[Bool](../types/Bool.md) | Yes|True, if connection through UDP reflectors are supported|
|
|
|
|
|min\_layer|[int](../types/int.md) | Yes|Minimum supported layer, use 65|
|
|
|
|
|max\_layer|[int](../types/int.md) | Yes|Maximum supported layer, use 65|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [CallProtocol](../types/CallProtocol.md)
|
|
|
|
|
|
|
|
|