phoneConnectionWebrtc

WebRTC connection parameters for a phone call.

Constructor schema is available as of layer 117. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
turn flags.0?true Whether this is a TURN endpoint
stun flags.1?true Whether this is a STUN endpoint
id long Endpoint ID
ip string IP address
ipv6 string IPv6 address
port int Port
username string Username
password string Password

Type

PhoneConnection

Related pages

Phone calls

Telegram supports end-to-end-encrypted one-to-one voice and video calls.