Skip to main content

smsjobs.leave

Disable SMS jobs (official clients only).

func (c *Client) SMSJobsLeave(ctx context.Context) (bool, error)

Calling this method

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

res, err := api.SMSJobsLeave(ctx)
if err != nil {
return err
}
_ = res // bool
return nil
})

Parameters

This method takes no parameters.

Returns

bool

Possible errors

CodeTypeDescription
400NOT_JOINEDThe current user hasn't joined the Peer-to-Peer Login Program.

References