Skip to main content

phone.inviteConferenceCallParticipant

Invite a user to a conference call.

func (c *Client) PhoneInviteConferenceCallParticipant(ctx context.Context, request *PhoneInviteConferenceCallParticipantRequest) (UpdatesClass, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.PhoneInviteConferenceCallParticipant(ctx, &tg.PhoneInviteConferenceCallParticipantRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // UpdatesClass
return nil
})

Parameters

NameTypeRequiredDescription
VideoboolInvite the user to also turn on their video feed.
CallInputGroupCallClassyesThe conference call.
UserIDInputUserClassyesThe user to invite.

Returns

UpdatesClass

Possible errors

CodeTypeDescription
400GROUPCALL_INVALIDThe specified group call is invalid.

References