Refuse or end running call
Method schema is available as of layer 98. Switch ยป
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
video | flags.0?true | Whether this is a video call |
peer | InputPhoneCall | The phone call |
duration | int | Call duration |
reason | PhoneCallDiscardReason | Why was the call discarded |
connection_id | long | Preferred libtgvoip relay ID |
Code | Type | Description |
---|---|---|
400 | CALL_ALREADY_ACCEPTED | The call was already accepted. |
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. |