Skip to main content

phoneCall

Phone call, see here » for more info on the full flow.

type tg.PhoneCall struct { /* ... */ }

Implements PhoneCall.

Fields

NameTypeRequiredDescription
P2PAllowedboolWhether P2P connection to the other peer is allowed
VideoboolWhether this is a video call
ConferenceSupportedboolIf set, the other party supports upgrading of the call to a conference call.
IDint64yesCall ID
AccessHashint64yesAccess hash
DateintyesDate of creation of the call
AdminIDint64yesUser ID of the creator of the call
ParticipantIDint64yesUser ID of the other participant in the call
GAOrB[]byteyesParameter for key exchange
KeyFingerprintint64yesKey fingerprint
ProtocolPhoneCallProtocolyesCall protocol info to be passed to libtgvoip
Connections[]PhoneConnectionClassyesList of endpoints the user can connect to exchange call data
StartDateintyesWhen was the call actually started
CustomParametersDataJSONCustom JSON-encoded call parameters to be passed to tgcalls.

References