Accept incoming call
phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector<User> = phone.PhoneCall;
---functions---
phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall;
Parameters
Result
phone.PhoneCall
Possible errors
Code |
Type |
Description |
400 |
CALL_ALREADY_ACCEPTED |
The call was already accepted. |
400 |
CALL_ALREADY_DECLINED |
The call was already declined. |
500 |
CALL_OCCUPY_FAILED |
The call failed because the user is already making another call. |
400 |
CALL_PEER_INVALID |
The provided call peer object is invalid. |
400 |
CALL_PROTOCOL_FLAGS_INVALID |
Call protocol flags invalid. |
Related pages