Layer 220
method Users
phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool;

Parameters

Name Type Description
Peer InputPhoneCall The phone call we're currently in

Returns

Bool

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

// PhoneReceivedCall - positional arguments
result, err := client.PhoneReceivedCall(&tg.InputPhoneCall{})
if err != nil {
    // handle error
}
// result is *tg.Bool