Skip to content

weixin-ts / bot/src / deleteSession

Function: deleteSession()

deleteSession(filePath): Promise<boolean>

Defined in: bot/src/auth/session.ts:64

Delete session data from a file path. Returns true when a file was deleted, false when it didn't exist or couldn't be removed.

Parameters

filePath

string

Returns

Promise<boolean>

Released under the MIT License.