smsjobs.getSmsJob
Get info about an SMS job (official clients only).
func (c *Client) SMSJobsGetSMSJob(ctx context.Context, jobid string) (*SMSJob, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.SMSJobsGetSMSJob(ctx, jobid)
if err != nil {
return err
}
_ = res // *SMSJob
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
JobID | string | yes | Job ID |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | SMSJOB_ID_INVALID | The specified job ID is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
smsjobs.getSmsJob#778d902f