Skip to content

Function: logout() ​

ts
function logout(): void;

Ends the Zalo session and deletes the stored tokens. A login() that is still in progress is rejected with LOGIN_SUPERSEDED.

Returns ​

void

Released under the MIT License.