Skip to main content

account.resetWebAuthorizations

Reset all active web telegram login sessions

func (c *Client) AccountResetWebAuthorizations(ctx context.Context) (bool, error)

Calling this method

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

res, err := api.AccountResetWebAuthorizations(ctx)
if err != nil {
return err
}
_ = res // bool
return nil
})

Parameters

This method takes no parameters.

Returns

bool

References