MadelineProtoDocs/old_docs/API_docs_v91/constructors/privacyKeyPhoneP2P.md

34 lines
519 B
Markdown
Raw Normal View History

2019-03-08 13:49:23 +01:00
---
title: privacyKeyPhoneP2P
2019-12-27 17:48:04 +01:00
description: Whether P2P connections in phone calls are allowed
2019-03-08 13:49:23 +01: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-03-08 13:49:23 +01:00
### Type: [PrivacyKey](../types/PrivacyKey.md)
### Example:
```php
$privacyKeyPhoneP2P = ['_' => 'privacyKeyPhoneP2P'];
```
Or, if you're into Lua:
```lua
privacyKeyPhoneP2P={_='privacyKeyPhoneP2P'}
```