Skip to content

weixin-ts / bot/src / loadSession

Function: loadSession()

loadSession(filePath): Promise<SessionData | null>

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

Load session data from a file path. Returns null if file doesn't exist or can't be read.

Parameters

filePath

string

Returns

Promise<SessionData | null>

Released under the MIT License.