smsjobs.join
Enable SMS jobs (official clients only).
func (c *Client) SMSJobsJoin(ctx context.Context) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.SMSJobsJoin(ctx)
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
This method takes no parameters.
Returns
bool
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | 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.join#a74ece2d