---
title: privacyKeyPhoneP2P
description: Whether P2P connections in phone calls are allowed
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: privacyKeyPhoneP2P  
[Back to constructors index](index.md)



Whether P2P connections in phone calls are allowed




### Type: [PrivacyKey](../types/PrivacyKey.md)


### Example:

```php
$privacyKeyPhoneP2P = ['_' => 'privacyKeyPhoneP2P'];
```  


Or, if you're into Lua:

```lua
privacyKeyPhoneP2P={_='privacyKeyPhoneP2P'}

```


