Skip to main content

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

NameTypeRequiredDescription
OnlyLeftboolWhether this is a removal of members that already left the conference call.
KickboolWhether this is a forced removal of active members in a conference call.
CallInputGroupCallClassyesThe conference call.
IDs[]int64yesIDs of users to remove.
Block[]byteyesThe block containing an appropriate e2e.chain.changeSetGroupState event

Returns

UpdatesClass

Possible errors

CodeTypeDescription
400GROUPCALL_INVALIDThe specified group call is invalid.

References