account.getPassword
Obtain configuration for two-factor authorization with password
func (c *Client) AccountGetPassword(ctx context.Context) (*AccountPassword, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.AccountGetPassword(ctx)
if err != nil {
return err
}
_ = res // *AccountPassword
return nil
})
Parameters
This method takes no parameters.
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
account.getPassword#548a30f5