phone.deleteConferenceCallParticipants
Remove participants from a conference call. Exactly one of the only_left and kick flags must be set.
func (c *Client) PhoneDeleteConferenceCallParticipants(ctx context.Context, request *PhoneDeleteConferenceCallParticipantsRequest) (UpdatesClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.PhoneDeleteConferenceCallParticipants(ctx, &tg.PhoneDeleteConferenceCallParticipantsRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // UpdatesClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
OnlyLeft | bool | — | Whether this is a removal of members that already left the conference call. |
Kick | bool | — | Whether this is a forced removal of active members in a conference call. |
Call | InputGroupCallClass | yes | The conference call. |
IDs | []int64 | yes | IDs of users to remove. |
Block | []byte | yes | The block containing an appropriate e2e.chain.changeSetGroupState event |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
phone.deleteConferenceCallParticipants#8ca60525