Skip to main content

account.getAllSecureValues

Get all saved Telegram Passport documents, for more info see the passport docs »

func (c *Client) AccountGetAllSecureValues(ctx context.Context) ([]SecureValue, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.AccountGetAllSecureValues(ctx)
if err != nil {
return err
}
_ = res // []SecureValue
return nil
})

Parameters

This method takes no parameters.

Returns

[]SecureValue

References