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.