Layer 224
PhoneConfirmCall
Complete phone call E 2 E encryption key exchange
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.PhoneCallGogram Example
// PhoneConfirmCall - positional arguments result, err := client.PhoneConfirmCall(&tg.InputPhoneCall{}, []byte{0x01, 0x02, 0x03}, int64(1234567890), &tg.PhoneCallProtocol{}) if err != nil { // handle error } // result is *tg.PhonePhoneCall
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. |