Layer 220
method Users
phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall;

Parameters

Name Type Description
Peer InputPhoneCall The phone call
GA bytes Parameter for E 2 E encryption key exchange
KeyFingerprint long Key fingerprint
Protocol PhoneCallProtocol Phone call settings

Returns

phone.PhoneCall

Possible Errors

Code Type Description
400 CALL_ALREADY_DECLINED The call was already declined.
400 CALL_PEER_INVALID The provided call peer object is invalid.

Gogram Example

// PhoneConfirmCall - positional arguments
result, err := client.PhoneConfirmCall(&tg.InputPhoneCall{}, []byte{}, int64(0), &tg.PhoneCallProtocol{})
if err != nil {
    // handle error
}
// result is *tg.PhonePhoneCall