Skip to main content
Defined in: testing/transcripts/record.ts:41 Options for recordTranscript.

Properties

now?

Defined in: testing/transcripts/record.ts:43 Clock used for t offsets (default Date.now).

Returns

number

includeFromMe?

Defined in: testing/transcripts/record.ts:45 Also record messages flagged fromMe (echoes of the bot’s own sends). Default false.

maxTurns?

Defined in: testing/transcripts/record.ts:52 Keep at most this many turns; older ones are dropped first (default DEFAULT_MAX_TURNS). The buffer holds message bodies, display names and ids in RAM, unredacted, so keep it bounded on a long-running bot and clear() it once a transcript has been taken. Infinity disables the cap.