MadelineProtoDocs/docs/API_docs/constructors/privacyKeyPhoneP2P.md

34 lines
519 B
Markdown
Raw Normal View History

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