1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 00:26:57 +01:00
MadelineProto/docs/TD_docs/constructors/callProtocol.md
2017-08-25 15:05:53 +02:00

26 lines
713 B
Markdown

---
title: callProtocol
description: Specifies supported call protocols
---
## Constructor: callProtocol
[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)