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.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
video | true | Nein | Whether this is a video call |
peer | InputPhoneCall | Ja | The phone call |
duration | int | Ja | Call duration |
reason | PhoneCallDiscardReason | Ja | Why was the call discarded |
connection_id | long | Ja | Preferred libtgvoip relay ID |
Antworten
Updates
MTProto RPC
- 400 · CALL_ALREADY_ACCEPTED — Der Anruf wurde bereits angenommen.
- 500 · CALL_OCCUPY_FAILED – Der Anruf ist fehlgeschlagen, da der Benutzer bereits einen anderen Anruf tätigt.
- 400 · CALL_PEER_INVALID – Das bereitgestellte Call-Peer-Objekt ist ungültig.