contacts.importContactToken
Obtain user info from a temporary profile link.
func (c *Client) ContactsImportContactToken(ctx context.Context, token string) (UserClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.ContactsImportContactToken(ctx, token)
if err != nil {
return err
}
_ = res // UserClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Token | string | yes | The token extracted from the temporary profile link. |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | IMPORT_TOKEN_INVALID | The specified token is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
contacts.importContactToken#13005788