smsjobs.isEligibleToJoin
Check if we can process SMS jobs (official clients only).
func (c *Client) SMSJobsIsEligibleToJoin(ctx context.Context) (*SMSJobsEligibleToJoin, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.SMSJobsIsEligibleToJoin(ctx)
if err != nil {
return err
}
_ = res // *SMSJobsEligibleToJoin
return nil
})
Parameters
This method takes no parameters.
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 403 | NOT_ELIGIBLE | The current user is not eligible to join the Peer-to-Peer Login Program. |
References
- Official documentation
- Generated Go reference
- TL definition:
smsjobs.isEligibleToJoin#edc39d0