MadelineProtoDocs/docs/API_docs/constructors/inputPrivacyKeyPhoneP2P.md

34 lines
577 B
Markdown

---
title: inputPrivacyKeyPhoneP2P
description: Whether the user allows P2P communication during VoIP calls
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputPrivacyKeyPhoneP2P
[Back to constructors index](index.md)
Whether the user allows P2P communication during VoIP calls
### Type: [InputPrivacyKey](../types/InputPrivacyKey.md)
### Example:
```php
$inputPrivacyKeyPhoneP2P = ['_' => 'inputPrivacyKeyPhoneP2P'];
```
Or, if you're into Lua:
```lua
inputPrivacyKeyPhoneP2P={_='inputPrivacyKeyPhoneP2P'}
```