mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.2 KiB
1.2 KiB
title | description | nav_exclude | image |
---|---|---|---|
phoneConnectionWebrtc | WebRTC connection parameters | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: phoneConnectionWebrtc
WebRTC connection parameters
Attributes:
Name | Type | Required | Description |
---|---|---|---|
turn | Bool | Optional | Whether this is a TURN endpoint |
stun | Bool | Optional | Whether this is a STUN endpoint |
id | long | Yes | Endpoint ID |
ip | string | Yes | IP address |
ipv6 | string | Yes | IPv6 address |
port | int | Yes | Port |
username | string | Yes | Username |
password | string | Yes | Password |
Type: PhoneConnection
Example:
$phoneConnectionWebrtc = ['_' => 'phoneConnectionWebrtc', 'turn' => Bool, 'stun' => Bool, 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'username' => 'string', 'password' => 'string'];