Home > borogove > persistence > Sqlite > removeAccount
persistence.Sqlite.removeAccount() method
Remove an account from storage
Signature:
removeAccount(accountId: string, completely: boolean): Promise<boolean markdown="1">;
Parameters
| Parameter | Type | Description |
|---|---|---|
| accountId | string | the account to remove |
| completely | boolean | if message history, etc should be removed also |
Returns:
Promise<boolean>