auth.dropTempAuthKeys
Delete all temporary authorization keys except for the ones specified
func (c *Client) AuthDropTempAuthKeys(ctx context.Context, exceptauthkeys []int64) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.AuthDropTempAuthKeys(ctx, exceptauthkeys)
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ExceptAuthKeys | []int64 | yes | The auth keys that shouldn't be dropped. |
Returns
bool
References
- Official documentation
- Generated Go reference
- TL definition:
auth.dropTempAuthKeys#8e48a188