MadelineProtoDocs/old_docs/API_docs_v100/constructors/privacyKeyPhoneP2P.md

34 lines
519 B
Markdown
Raw Permalink Normal View History

2019-06-23 13:07:51 +02:00
---
title: privacyKeyPhoneP2P
2019-12-27 17:48:04 +01:00
description: Whether P2P connections in phone calls are allowed
2019-06-23 13:07:51 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: privacyKeyPhoneP2P
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Whether P2P connections in phone calls are allowed
2019-06-23 13:07:51 +02:00
### Type: [PrivacyKey](../types/PrivacyKey.md)
### Example:
```php
$privacyKeyPhoneP2P = ['_' => 'privacyKeyPhoneP2P'];
```
Or, if you're into Lua:
```lua
privacyKeyPhoneP2P={_='privacyKeyPhoneP2P'}
```