Layer 220
PhoneDiscardGroupCall
Terminate a group call
method
Users
phone.discardGroupCall#7a777135 call:InputGroupCall = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| Call | InputGroupCall | The group call to terminate |
Returns
UpdatesPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | GROUPCALL_ALREADY_DISCARDED | The group call was already discarded. |
| 403 | GROUPCALL_FORBIDDEN | The group call has already ended. |
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |
Gogram Example
// PhoneDiscardGroupCall - positional arguments result, err := client.PhoneDiscardGroupCall(&tg.InputGroupCall{}) if err != nil { // handle error } // result is *tg.Updates