phone.discardCall
Refuse or end running call, see here » for more info on the full flow.
Refuse or end running call, see [here »](https://core.telegram.org/api/calls.md#one-to-one-calls) for more info on the full flow.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
video | 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 |
الردود
Updates
MTProto RPC
- 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.